Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7fa8c508 authored by Doug Zongker's avatar Doug Zongker
Browse files

make erase-password-on-SIM-change optional

Make this "feature" controlled by a system property so it can be
enabled only for carriers that want it.
parent 5a4f64fc
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -223,7 +223,11 @@ public class AccountManagerService
        mBindHelper = new AuthenticatorBindHelper(mContext, mAuthenticatorCache, mMessageHandler,
                MESSAGE_CONNECTED, MESSAGE_DISCONNECTED);

        if (SystemProperties.getBoolean("ro.config.sim_password_clear", false)) {
          mSimWatcher = new SimWatcher(mContext);
        } else {
          mSimWatcher = null;
        }
        sThis.set(this);

        onRegisteredServicesCacheChanged();