updated pp icon, removed caching of pp check, bumped expiry

pull/14/head
Tim Su 14 years ago
parent 1624c8547d
commit 72f02c7696

@ -7,11 +7,11 @@
<classpathentry excluding="com/todoroo/astrid/rmilk/EditOperationExposer.java|com/todoroo/astrid/rmilk/MilkEditActivity.java" kind="src" path="plugin-src"/>
<classpathentry kind="src" path="gen"/>
<classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
<classpathentry kind="lib" path="libs/annotations.jar"/>
<classpathentry kind="lib" path="libs/commons-codec-1.3.jar"/>
<classpathentry kind="lib" path="libs/FlurryAgent.jar"/>
<classpathentry kind="lib" path="libs/jsr305.jar"/>
<classpathentry kind="lib" path="libs/rfc2445-no-joda.jar"/>
<classpathentry kind="lib" path="libs/locale_platform.jar"/>
<classpathentry exported="true" kind="lib" path="libs/annotations.jar"/>
<classpathentry exported="true" kind="lib" path="libs/commons-codec-1.3.jar"/>
<classpathentry exported="true" kind="lib" path="libs/FlurryAgent.jar"/>
<classpathentry exported="true" kind="lib" path="libs/jsr305.jar"/>
<classpathentry exported="true" kind="lib" path="libs/rfc2445-no-joda.jar"/>
<classpathentry exported="true" kind="lib" path="libs/locale_platform.jar"/>
<classpathentry kind="output" path="ecbuild"/>
</classpath>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 7.5 KiB

@ -43,33 +43,22 @@ public class AddOnService {
/** Astrid Power Pack label */
public static final String POWER_PACK_LABEL = "Astrid Power Pack";
/** cached is power pack value */
private static Boolean isPowerPack = null;
/** Checks whether power pack should be enabled */
public boolean isPowerPack() {
if (isPowerPack == null) {
isPowerPack = false;
if (Preferences.getBoolean(PREF_OEM, false))
isPowerPack = true;
else if(isInstalled(POWER_PACK_PACKAGE, true))
isPowerPack = true;
}
return isPowerPack;
if (Preferences.getBoolean(PREF_OEM, false))
return true;
else if(isInstalled(POWER_PACK_PACKAGE, true))
return true;
return false;
}
/** Checks whether locale plugin should be enabled */
public boolean hasLocalePlugin() {
if (isPowerPack == null) {
isPowerPack = false;
if (Preferences.getBoolean(PREF_OEM, false))
isPowerPack = true;
else if(isInstalled(LOCALE_PACKAGE, true))
isPowerPack = true;
}
return isPowerPack;
if (Preferences.getBoolean(PREF_OEM, false))
return true;
else if(isInstalled(LOCALE_PACKAGE, true))
return true;
return false;
}
/**

@ -40,7 +40,7 @@ public final class Constants {
/**
* Upgrade time
*/
public static final Date UPGRADE = new Date(110, 8, 1);
public static final Date UPGRADE = new Date(110, 10, 1);
// --- notification id's

Loading…
Cancel
Save