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:
@@ -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
|
||||
|
||||
@@ -1341,7 +1341,7 @@ class WindowStateAnimator {
|
||||
}
|
||||
}
|
||||
|
||||
private void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
|
||||
void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
|
||||
final WindowState w = mWin;
|
||||
|
||||
int width;
|
||||
|
||||
Reference in New Issue
Block a user