From d09c4cad65c708f2c4810d24295456708a2000d2 Mon Sep 17 00:00:00 2001 From: Wink Saville Date: Sat, 22 Nov 2014 10:08:16 -0800 Subject: Additional changes to SubscriptionManager API as per API council. bug: 17575308 Change-Id: Idd98aa46c15a9219ccf28091c62602ac8bf16c62 --- .../src/com/android/systemui/keyguard/KeyguardViewMediator.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'packages/SystemUI/src/com/android/systemui/keyguard') diff --git a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java index 8213127..d8f8727 100644 --- a/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java +++ b/packages/SystemUI/src/com/android/systemui/keyguard/KeyguardViewMediator.java @@ -926,9 +926,10 @@ public class KeyguardViewMediator extends SystemUI { // if the setup wizard hasn't run yet, don't show final boolean requireSim = !SystemProperties.getBoolean("keyguard.no_require_sim", false); final boolean absent = mUpdateMonitor.getNextSubIdForState( - IccCardConstants.State.ABSENT) != SubscriptionManager.INVALID_SUB_ID; + IccCardConstants.State.ABSENT) != SubscriptionManager.INVALID_SUBSCRIPTION_ID; final boolean disabled = mUpdateMonitor.getNextSubIdForState( - IccCardConstants.State.PERM_DISABLED) != SubscriptionManager.INVALID_SUB_ID; + IccCardConstants.State.PERM_DISABLED) + != SubscriptionManager.INVALID_SUBSCRIPTION_ID; final boolean lockedOrMissing = mUpdateMonitor.isSimPinSecure() || ((absent || disabled) && requireSim); -- cgit v1.1