am 4c253119: Merge "Prevent unintended rotations. Bug: 4981385"

* commit '4c253119db0ce753e46ec3809b54b9e357d363db':
  Prevent unintended rotations. Bug: 4981385
This commit is contained in:
Jeff Brown
2011-09-23 18:29:49 -07:00
committed by Android Git Automerger
5 changed files with 303 additions and 320 deletions

View File

@@ -5199,6 +5199,7 @@ public class WindowManagerService extends IWindowManager.Stub
mRotation = rotation;
mAltOrientation = altOrientation;
mPolicy.setRotationLw(mRotation);
mWindowsFreezingScreen = true;
mH.removeMessages(H.WINDOW_FREEZE_TIMEOUT);