Suppress task killer information when OEM

Tim Su 16 years ago
parent f36342e413
commit 185275b81e

@ -18,9 +18,14 @@ public class Constants {
public static final long WIDGET_UPDATE_INTERVAL = 30 * 60 * 1000L; public static final long WIDGET_UPDATE_INTERVAL = 30 * 60 * 1000L;
/** /**
* Whether to display synchronization * Whether this is an OEM preinstallation
*/ */
public static final boolean SYNCHRONIZE = true; public static final boolean OEM = false;
/**
* Whether to display synchronization options
*/
public static final boolean SYNCHRONIZE = !OEM;
// result codes // result codes

@ -106,7 +106,8 @@ public class StartupReceiver extends BroadcastReceiver {
Preferences.setPreferenceDefaults(context); Preferences.setPreferenceDefaults(context);
// check for task killers // check for task killers
showTaskKillerHelp(context); if(!Constants.OEM)
showTaskKillerHelp(context);
hasStartedUp = true; hasStartedUp = true;
} }

Loading…
Cancel
Save