summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
diff options
context:
space:
mode:
authorWink Saville <wink@google.com>2015-01-12 17:11:04 -0800
committerWink Saville <wink@google.com>2015-01-13 08:36:24 -0800
commit071743f0cbbfab36150db6ec945452579d02e8dd (patch)
treec37a9c3f6b510520e36ea4802eaeb21cfc8ed498 /packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
parent71922de6c8e407ff24bb1a500cb53bb1a647c758 (diff)
downloadframeworks_base-071743f0cbbfab36150db6ec945452579d02e8dd.zip
frameworks_base-071743f0cbbfab36150db6ec945452579d02e8dd.tar.gz
frameworks_base-071743f0cbbfab36150db6ec945452579d02e8dd.tar.bz2
Rename reg/unreg OnSubscriptionsChangedListener.
To addOnSubscriptionsChangedListener and removeOnSubscriptionsChangedListener. Bug: 18984103 Change-Id: I6636905093812af89c1c3702840e44c8c5ea891f
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
index 84bacc3..48f2e42 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
@@ -705,7 +705,7 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
context.registerReceiverAsUser(mBroadcastAllReceiver, UserHandle.ALL, allUserFilter,
null, null);
- mSubscriptionManager.registerOnSubscriptionsChangedListener(mSubscriptionListener);
+ mSubscriptionManager.addOnSubscriptionsChangedListener(mSubscriptionListener);
try {
ActivityManagerNative.getDefault().registerUserSwitchObserver(
new IUserSwitchObserver.Stub() {