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

Commit 49a2903f authored by Johannes Gallmann's avatar Johannes Gallmann
Browse files

Fix flicker when cancelling cross-activity back animation when letterboxed

Bug: 343930757
Flag: com.android.systemui.predictive_back_system_anims
Test: Manual, i.e. verifying on device that flicker does not occur anymore
Change-Id: I84353f2bd735463ab8ec146f9de56e93f5d39140
parent 9a372e7c
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -292,6 +292,7 @@ abstract class CrossActivityBackAnimation(
        enteringTarget?.let {
            if (it.leash != null && it.leash.isValid) {
                transaction.setCornerRadius(it.leash, 0f)
                if (!triggerBack) transaction.setAlpha(it.leash, 0f)
                it.leash.release()
            }
            enteringTarget = null