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

Commit b2fa62c4 authored by Vinit Nayak's avatar Vinit Nayak
Browse files

Continue to hide status bar when switching flex split apps

Flag: com.android.wm.shell.enable_flexible_two_app_split
Test: Manual
Bug: 383626044
Change-Id: Ie1e27b15e3e5c634593f61848de77f967dca53b9
parent 18b5ac2e
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -27,6 +27,7 @@ import com.android.wm.shell.RootDisplayAreaOrganizer
import com.android.wm.shell.ShellTaskOrganizer
import com.android.wm.shell.common.split.SplitState
import com.android.wm.shell.protolog.ShellProtoLogGroup
import com.android.wm.shell.shared.split.SplitScreenConstants.ANIMATING_OFFSCREEN_TAP
import com.android.wm.shell.shared.split.SplitScreenConstants.NOT_IN_SPLIT
import com.android.wm.shell.shared.split.SplitScreenConstants.SNAP_TO_2_10_90
import com.android.wm.shell.shared.split.SplitScreenConstants.SNAP_TO_2_90_10
@@ -179,6 +180,7 @@ class SplitStatusBarHider(
        return when(splitState) {
            SNAP_TO_2_10_90 -> true
            SNAP_TO_2_90_10 -> true
            ANIMATING_OFFSCREEN_TAP -> true
            else -> false
        }
    }