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

This commit is contained in:
Chong Zhang
2015-04-06 21:35:13 +00:00
committed by Android (Google) Code Review
2 changed files with 2 additions and 2 deletions

View File

@@ -9890,7 +9890,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;