Skip to content

Commit 4d9251b

Browse files
Craig MautnerAndroid (Google) Code Review
authored andcommitted
Merge "Fix visual glitch in app transition."
2 parents c217f4c + 9cd75d4 commit 4d9251b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,8 @@ boolean stepAnimationLocked(long currentTime, int dw, int dh) {
185185
// it as not animating for purposes of scheduling transactions;
186186
// when it is really time to animate, this will be set to
187187
// a real animation and the next call will execute normally.
188+
hasTransformation = true;
189+
transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0);
188190
return false;
189191
}
190192

0 commit comments

Comments
 (0)