Skip to content

Commit f35ea5d

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Delay rendering into Surface until draw completed."
2 parents f341e55 + 9546e45 commit f35ea5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/java/com/android/server/wm/WindowStateAnimator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -978,7 +978,7 @@ public void prepareSurfaceLocked(final boolean recoveringMemory) {
978978

979979
setSurfaceBoundaries(recoveringMemory);
980980

981-
if (w.mAttachedHidden || !w.isReadyForDisplay()) {
981+
if (w.mAttachedHidden || !w.isReadyForDisplay() || !w.isDrawnLw()) {
982982
if (!mLastHidden) {
983983
//dump();
984984
mLastHidden = true;

0 commit comments

Comments
 (0)