Revert "fix the flash caused by missing setMatrix() when surface size changes"

This reverts commit 7f97af11fb.
Change broke screen_on functionality when an alarm goes off.

Bug: 20096335
Bug: 18773834
This commit is contained in:
Wale Ogunwale
2015-04-07 10:49:40 -07:00
parent 8d1db149b6
commit 4c8b7953f9
2 changed files with 2 additions and 2 deletions

View File

@@ -9889,7 +9889,7 @@ public class WindowManagerService extends IWindowManager.Stub
}
}
winAnimator.prepareSurfaceLocked(recoveringMemory);
winAnimator.setSurfaceBoundariesLocked(recoveringMemory);
final AppWindowToken atoken = w.mAppToken;
if (DEBUG_STARTING_WINDOW && atoken != null

View File

@@ -1341,7 +1341,7 @@ class WindowStateAnimator {
}
}
private void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
final WindowState w = mWin;
int width;