Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9cd75d46 authored by Craig Mautner's avatar Craig Mautner
Browse files

Fix visual glitch in app transition.

When dummy animation is being used, set the alpha to 0 or 1 depending
on whether the app was previously hidden or visible.

Change-Id: I1a4e3cdb4b9ca4a6aef58e47bf26e5adbef66a7f
parent 1579a67e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -185,6 +185,8 @@ public class AppWindowAnimator {
                // it as not animating for purposes of scheduling transactions;
                // when it is really time to animate, this will be set to
                // a real animation and the next call will execute normally.
                hasTransformation = true;
                transformation.setAlpha(mAppToken.reportedVisible ? 1 : 0);
                return false;
            }