summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2014-11-22 10:08:16 -0800
committerWink Saville <wink@google.com>2014-11-22 10:08:16 -0800
commitd09c4cad65c708f2c4810d24295456708a2000d2 (patch)
tree27dd308bdb4d662a149287a7cc168770a065a992 /packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
parent85f463c5b59350fa4c4a05007f8a7b65a9a89da3 (diff)
downloadframeworks_base-d09c4cad65c708f2c4810d24295456708a2000d2.zip
frameworks_base-d09c4cad65c708f2c4810d24295456708a2000d2.tar.gz
frameworks_base-d09c4cad65c708f2c4810d24295456708a2000d2.tar.bz2
Additional changes to SubscriptionManager API as per API council.
bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java2
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 d8feaf8..1f4311e 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardSimPinView.java
@@ -71,7 +71,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_SUB_ID) {
+ if (mSubId != SubscriptionManager.INVALID_SUBSCRIPTION_ID) {
int count = TelephonyManager.getDefault().getSimCount();
Resources rez = getResources();
final String msg;