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

Commit 2f13beab authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Make quickswitch splash reveal animation split aware

* Use top of window frame as starting shift point for animation
since split vertical apps have different "top"s

Bug: 309059057
Test: Quickswitched with split and fullscreen apps in
portrait and landscape
Flag: EXEMPT bugfix

Change-Id: I0b4ba8ca3a17fa974095620ef2873c8041e106fd
parent e8c2428c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -390,7 +390,8 @@ public class SplashScreenExitAnimationUtils {
                                SurfaceControl firstWindowSurface, ViewGroup splashScreenView,
                                TransactionPool transactionPool, Rect firstWindowFrame,
                                int mainWindowShiftLength, float roundedCornerRadius) {
            mFromYDelta = fromYDelta - Math.max(firstWindowFrame.top, roundedCornerRadius);
            mFromYDelta = firstWindowFrame.top
                    - Math.max(firstWindowFrame.top, roundedCornerRadius);
            mToYDelta = toYDelta;
            mOccludeHoleView = occludeHoleView;
            mApplier = new SyncRtSurfaceTransactionApplier(occludeHoleView);