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

Commit 0ece00cb authored by Bryce Lee's avatar Bryce Lee
Browse files

Fix back gesture test.

This changelist disables the glanceable hub back gesture
flag for test exercising legacy behavior disabling this
behavior.

Bug: 382771533
Flag: com.android.systemui.glanceable_hub_back_action
Test: atest QuickStepContractTest#isBackGestureDisabled_hubShowing
Change-Id: I78008eb56c51967c20725bf5e83718a2e82c948b
parent 37b9d5c9
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -16,8 +16,10 @@

package com.android.systemui.shared.system

import android.platform.test.annotations.DisableFlags
import androidx.test.ext.junit.runners.AndroidJUnit4
import androidx.test.filters.SmallTest
import com.android.systemui.Flags.FLAG_GLANCEABLE_HUB_BACK_ACTION
import com.android.systemui.SysuiTestCase
import com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_BOUNCER_SHOWING
import com.android.systemui.shared.system.QuickStepContract.SYSUI_STATE_COMMUNAL_HUB_SHOWING
@@ -30,6 +32,7 @@ import org.junit.runner.RunWith
@RunWith(AndroidJUnit4::class)
class QuickStepContractTest : SysuiTestCase() {
    @Test
    @DisableFlags(FLAG_GLANCEABLE_HUB_BACK_ACTION)
    fun isBackGestureDisabled_hubShowing() {
        val sysuiStateFlags = SYSUI_STATE_COMMUNAL_HUB_SHOWING