Merge "Use the correct lock to protect members in PolicyControl"

This commit is contained in:
Wale Ogunwale
2015-06-29 15:09:29 +00:00
committed by Gerrit Code Review

View File

@@ -1567,6 +1567,8 @@ public class PhoneWindowManager implements WindowManagerPolicy {
if (mImmersiveModeConfirmation != null) {
mImmersiveModeConfirmation.loadSetting(mCurrentUserId);
}
}
synchronized (mWindowManagerFuncs.getWindowManagerLock()) {
PolicyControl.reloadFromSetting(mContext);
}
if (updateRotation) {