Merge "Use the correct lock to protect members in PolicyControl" into mnc-dev

This commit is contained in:
Wale Ogunwale
2015-06-29 18:12:54 +00:00
committed by Android (Google) Code Review

View File

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