@ -139,22 +139,17 @@ public class AddOnService {
// temporary temporary
// temporary temporary
ArrayList < AddOn > list = new ArrayList < AddOn > ( 3 ) ;
ArrayList < AddOn > list = new ArrayList < AddOn > ( 3 ) ;
if ( Constants . MARKET_STRATEGY . includesPowerPack ( ) )
if ( Constants . MARKET_STRATEGY . includesPowerPack ( ) )
list . add ( new AddOn ( false , true , "Astrid Power Pack" , null ,
list . add ( new AddOn ( false , true , r . getString ( R . string . AOA_ppack_title ) , null ,
"Support Astrid and get more productive with the Astrid Power Pack. 4x2 and 4x4 widgets and voice integration. Power up today!" ,
r . getString ( R . string . AOA_ppack_description ) ,
POWER_PACK_PACKAGE , "http://www.weloveastrid.com/store" ,
POWER_PACK_PACKAGE , "http://www.weloveastrid.com/store" ,
( ( BitmapDrawable ) r . getDrawable ( R . drawable . icon_pp ) ) . getBitmap ( ) ) ) ;
( ( BitmapDrawable ) r . getDrawable ( R . drawable . icon_pp ) ) . getBitmap ( ) ) ) ;
if ( Constants . MARKET_STRATEGY . includesLocalePlugin ( ) )
if ( Constants . MARKET_STRATEGY . includesLocalePlugin ( ) )
list . add ( new AddOn ( false , true , "Astrid Locale Plugin" , null ,
list . add ( new AddOn ( false , true , r . getString ( R . string . AOA_locale_title ) , null ,
"Allows Astrid to make use of the Locale application to send you notifications based on filter conditions. Requires Locale." ,
r . getString ( R . string . AOA_locale_description ) ,
LOCALE_PACKAGE , "http://www.weloveastrid.com/store" ,
LOCALE_PACKAGE , "http://www.weloveastrid.com/store" ,
( ( BitmapDrawable ) r . getDrawable ( R . drawable . icon_locale ) ) . getBitmap ( ) ) ) ;
( ( BitmapDrawable ) r . getDrawable ( R . drawable . icon_locale ) ) . getBitmap ( ) ) ) ;
// list.add(new AddOn(true, true, "Producteev", null,
// "Synchronize with Producteev service. Also changes Astrid's importance levels to stars.",
// Constants.PACKAGE, "http://www.producteev.com",
// ((BitmapDrawable)r.getDrawable(R.drawable.icon_producteev)).getBitmap()));
return list . toArray ( new AddOn [ list . size ( ) ] ) ;
return list . toArray ( new AddOn [ list . size ( ) ] ) ;
}
}