Loading packages/SystemUI/multivalentTests/src/com/android/keyguard/KeyguardSimPinViewControllerTest.kt +1 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,7 @@ class KeyguardSimPinViewControllerTest : SysuiTestCase() { mUserActivityNotifier, inputManager, ) underTest.mIsInTestMode = true underTest.init() underTest.onViewAttached() underTest.onResume(0) Loading packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java +3 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ public class KeyguardSimPinViewController private AlertDialog mRemainingAttemptsDialog; private ImageView mSimImageView; protected boolean mIsInTestMode = false; KeyguardUpdateMonitorCallback mUpdateMonitorCallback = new KeyguardUpdateMonitorCallback() { @Override public void onSimStateChanged(int subId, int slotId, int simState) { Loading Loading @@ -321,6 +323,7 @@ public class KeyguardSimPinViewController @Override public void run() { if (mIsInTestMode) return; Log.v(TAG, "call supplyIccLockPin(subid=" + mSubId + ")"); TelephonyManager telephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); final PinResult result = telephonyManager.supplyIccLockPin(mPin); Loading Loading
packages/SystemUI/multivalentTests/src/com/android/keyguard/KeyguardSimPinViewControllerTest.kt +1 −0 Original line number Diff line number Diff line Loading @@ -111,6 +111,7 @@ class KeyguardSimPinViewControllerTest : SysuiTestCase() { mUserActivityNotifier, inputManager, ) underTest.mIsInTestMode = true underTest.init() underTest.onViewAttached() underTest.onResume(0) Loading
packages/SystemUI/src/com/android/keyguard/KeyguardSimPinViewController.java +3 −0 Original line number Diff line number Diff line Loading @@ -68,6 +68,8 @@ public class KeyguardSimPinViewController private AlertDialog mRemainingAttemptsDialog; private ImageView mSimImageView; protected boolean mIsInTestMode = false; KeyguardUpdateMonitorCallback mUpdateMonitorCallback = new KeyguardUpdateMonitorCallback() { @Override public void onSimStateChanged(int subId, int slotId, int simState) { Loading Loading @@ -321,6 +323,7 @@ public class KeyguardSimPinViewController @Override public void run() { if (mIsInTestMode) return; Log.v(TAG, "call supplyIccLockPin(subid=" + mSubId + ")"); TelephonyManager telephonyManager = mTelephonyManager.createForSubscriptionId(mSubId); final PinResult result = telephonyManager.supplyIccLockPin(mPin); Loading