summaryrefslogtreecommitdiffstats
path: root/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
diff options
context:
space:
mode:
authorKenny Guy <kennyguy@google.com>2015-04-13 18:03:05 +0000
committerKenny Guy <kennyguy@google.com>2015-04-13 18:03:05 +0000
commit429796226a8831af63a6303a58329f6b68f7b100 (patch)
tree28b98d1d4672a3605e131ebb25b486fec177a644 /packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
parent735a3f90598be31bca5d551d781280a205a5f27f (diff)
downloadframeworks_base-429796226a8831af63a6303a58329f6b68f7b100.zip
frameworks_base-429796226a8831af63a6303a58329f6b68f7b100.tar.gz
frameworks_base-429796226a8831af63a6303a58329f6b68f7b100.tar.bz2
Add foreground profile changed to user switch observer.
Called when the focused activity changes from one profile to another to allow sys ui to vary display based on the current profile. This reverts commit 735a3f90598be31bca5d551d781280a205a5f27f. Resubmitting with fix for build break in another package. Bug: 19531782 Change-Id: I98cd2968ade3b1d23feb90d98057f306695d569e
Diffstat (limited to 'packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java')
-rw-r--r--packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
index 82dec30..a928211 100644
--- a/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
+++ b/packages/Keyguard/src/com/android/keyguard/KeyguardUpdateMonitor.java
@@ -722,6 +722,10 @@ public class KeyguardUpdateMonitor implements TrustManager.TrustListener {
newUserId, 0));
mSwitchingUser = false;
}
+ @Override
+ public void onForegroundProfileSwitch(int newProfileId) {
+ // Ignore.
+ }
});
} catch (RemoteException e) {
// TODO Auto-generated catch block