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

Commit 2d0fd078 authored by Jeremy Sim's avatar Jeremy Sim
Browse files

Fix bug with portrait-fold devices animating app pairs launch wrongly

This CL makes it so that isLeftRightSplit is correctly called instead of isLandscape when animating an app pair launch.

Fixes: 318756992
Test: Manual
Flag: ACONFIG com.android.wm.shell.enable_app_pairs TEAMFOOD
Change-Id: Id766a3f9bd315abc277e36a118fd233156cf3898
parent 6474a3b4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -115,7 +115,7 @@ class FloatingAppPairBackground(
    }

    override fun draw(canvas: Canvas) {
        if (launcher.deviceProfile.isLandscape) {
        if (launcher.deviceProfile.isLeftRightSplit) {
            drawLeftRightSplit(canvas)
        } else {
            drawTopBottomSplit(canvas)