Merge change I7fa8c508 into eclair-mr2

* changes:
  make erase-password-on-SIM-change optional
This commit is contained in:
Android (Google) Code Review
2009-10-13 17:26:48 -04:00

View File

@@ -223,7 +223,11 @@ public class AccountManagerService
mBindHelper = new AuthenticatorBindHelper(mContext, mAuthenticatorCache, mMessageHandler,
MESSAGE_CONNECTED, MESSAGE_DISCONNECTED);
mSimWatcher = new SimWatcher(mContext);
if (SystemProperties.getBoolean("ro.config.sim_password_clear", false)) {
mSimWatcher = new SimWatcher(mContext);
} else {
mSimWatcher = null;
}
sThis.set(this);
onRegisteredServicesCacheChanged();