diff options
author | Wink Saville <wink@google.com> | 2014-12-11 13:37:50 -0800 |
---|---|---|
committer | Wink Saville <wink@google.com> | 2014-12-11 13:37:50 -0800 |
commit | a54bf6583380cf328b9858d942b4c387c6163f0f (patch) | |
tree | 9306aa8c96d54bcd490ed444d4928549146f4e59 /packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java | |
parent | f6ed526b3a02bac9c5912a9655e5890f332cefc6 (diff) | |
download | frameworks_base-a54bf6583380cf328b9858d942b4c387c6163f0f.zip frameworks_base-a54bf6583380cf328b9858d942b4c387c6163f0f.tar.gz frameworks_base-a54bf6583380cf328b9858d942b4c387c6163f0f.tar.bz2 |
Change tests against INVALID_SUBSCRIPTION_ID to use isValidSubscriptionId.
Rename isValidSubId to isValidSubscriptionId.
Bug: 18668873
Change-Id: Ie709a62bbb74e0a767daeb9e3fb3aecd4c45df44
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java')
-rw-r--r-- | packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java index f1c4cd4..f4acff8 100644 --- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java +++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java @@ -75,7 +75,7 @@ public class KeyguardSimPinView extends KeyguardPinBasedInputView { if (DEBUG) Log.v(TAG, "Resetting state"); KeyguardUpdateMonitor monitor = KeyguardUpdateMonitor.getInstance(mContext); mSubId = monitor.getNextSubIdForState(IccCardConstants.State.PIN_REQUIRED); - if (mSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) { + if (SubscriptionManager.isValidSubscriptionId(mSubId)) { int count = TelephonyManager.getDefault().getSimCount(); Resources rez = getResources(); final String msg; |