summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wale Ogunwale <ogunwale@google.com> 2015-06-29 15:09:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-06-29 15:09:30 +0000
commitffe72f70e0da02868848c7e71d8f44a5463925ea (patch)
tree1a02ecf583e217b1d78a8dbf4713d9b94f1cfcb3
parent78db19c25a3a18d9ccf19b91be17e791e4fd782c (diff)
parente8befb35313e37f519ef61b35669d848eb464437 (diff)
Merge "Use the correct lock to protect members in PolicyControl"
-rw-r--r--policy/src/com/android/internal/policy/impl/PhoneWindowManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
index d4c530bbad3d..1e047b930630 100644
--- a/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
+++ b/policy/src/com/android/internal/policy/impl/PhoneWindowManager.java
@@ -1567,6 +1567,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (mImmersiveModeConfirmation != null) {
mImmersiveModeConfirmation.loadSetting(mCurrentUserId);
}
+ }
+ synchronized (mWindowManagerFuncs.getWindowManagerLock()) {
PolicyControl.reloadFromSetting(mContext);
}
if (updateRotation) {