summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Wale Ogunwale <ogunwale@google.com> 2015-06-29 18:22:03 +0000
committer Android Git Automerger <android-git-automerger@android.com> 2015-06-29 18:22:03 +0000
commit0dfb1df6ac373120208d72abf00a3817e343069c (patch)
treed3dc0f5ed2a26248a3310f7df2a5ffab9163e276
parent1d75e5273e63de811363f22976ced24f629918ce (diff)
parent810d5ed23b89265946d7f0fd8b2e6002038f1f2c (diff)
am 810d5ed2: Merge "Use the correct lock to protect members in PolicyControl" into mnc-dev
* commit '810d5ed23b89265946d7f0fd8b2e6002038f1f2c': Use the correct lock to protect members in PolicyControl
-rw-r--r--services/core/java/com/android/server/policy/PhoneWindowManager.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/services/core/java/com/android/server/policy/PhoneWindowManager.java b/services/core/java/com/android/server/policy/PhoneWindowManager.java
index 93e1f187b543..d31c6e9b5add 100644
--- a/services/core/java/com/android/server/policy/PhoneWindowManager.java
+++ b/services/core/java/com/android/server/policy/PhoneWindowManager.java
@@ -1689,6 +1689,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (mImmersiveModeConfirmation != null) {
mImmersiveModeConfirmation.loadSetting(mCurrentUserId);
}
+ }
+ synchronized (mWindowManagerFuncs.getWindowManagerLock()) {
PolicyControl.reloadFromSetting(mContext);
}
if (updateRotation) {