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

bug: 18773834

Change-Id: I16e2f896e6fd70e9b130bb55ecefa8c2f08c684a
This commit is contained in:
Chong Zhang
2015-01-05 11:25:39 -08:00
parent 3640409fd9
commit 7f97af11fb
2 changed files with 2 additions and 2 deletions

View File

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

View File

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