fix the flash caused by missing setMatrix() when surface size changes
bug: 18773834 Change-Id: I16e2f896e6fd70e9b130bb55ecefa8c2f08c684a
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1341,7 +1341,7 @@ class WindowStateAnimator {
|
||||
}
|
||||
}
|
||||
|
||||
void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
|
||||
private void setSurfaceBoundariesLocked(final boolean recoveringMemory) {
|
||||
final WindowState w = mWin;
|
||||
|
||||
int width;
|
||||
|
||||
Reference in New Issue
Block a user