summaryrefslogtreecommitdiff
path: root/core/java/android
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2012-09-19 13:28:11 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2012-09-19 13:28:11 -0700
commit52716deb4008da1d566dfd711edc0a9c6de5f79f (patch)
treece04a84d74a25d387cd0a96af3c465c9bd3de516 /core/java/android
parent8f301e666873e4a9feaace38a0b184a5f3ce7003 (diff)
parentf1b674197577e815040cd75ef86d611965d603ad (diff)
Merge "Fix deadlock in LockPatternUtils by using local id." into jb-mr1-dev
Diffstat (limited to 'core/java/android')
-rw-r--r--core/java/android/view/WindowManagerPolicy.java10
1 files changed, 9 insertions, 1 deletions
diff --git a/core/java/android/view/WindowManagerPolicy.java b/core/java/android/view/WindowManagerPolicy.java
index 75554daf4d38..82f07c7bbbb5 100644
--- a/core/java/android/view/WindowManagerPolicy.java
+++ b/core/java/android/view/WindowManagerPolicy.java
@@ -1111,7 +1111,15 @@ public interface WindowManagerPolicy {
* @param attrs The window's LayoutParams.
* @return Whether magnification can be applied.
*/
- public boolean canMagnifyWindow(WindowManager.LayoutParams attrs);
+ public boolean canMagnifyWindowLw(WindowManager.LayoutParams attrs);
+
+ /**
+ * Called when the current user changes. Guaranteed to be called before the broadcast
+ * of the new user id is made to all listeners.
+ *
+ * @param newUserId The id of the incoming user.
+ */
+ public void setCurrentUserLw(int newUserId);
/**
* Print the WindowManagerPolicy's state into the given stream.