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

Commit 1d8fd92b authored by Daniel Akinola's avatar Daniel Akinola Committed by Android (Google) Code Review
Browse files

Merge "Fix onStatusBarTouchEvent_withoutSceneFlag_onSameDisplayTouch_handlesInput" into main

parents 1ab5eec6 2fb4971f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.content.ComponentName
import android.content.Context
import android.content.pm.PackageManager
import android.content.pm.ResolveInfo
import android.os.Binder
import android.os.PowerManager
import android.os.UserManager
import android.platform.test.annotations.DisableFlags
@@ -412,6 +413,7 @@ class LauncherProxyServiceTest : SysuiTestCase() {
    @DisableFlags(Flags.FLAG_SCENE_CONTAINER, Flags.FLAG_KEYGUARD_WM_STATE_REFACTOR)
    fun onStatusBarTouchEvent_withoutSceneFlag_onSameDisplayTouch_handlesInput() =
        kosmos.testScope.runTest {
            whenever(userTracker.userId).thenReturn(Binder.getCallingUserHandle().identifier)
            val shadeDisplayId = 0
            whenever(statusBarShadeDisplayPolicy.displayId)
                .thenReturn(MutableStateFlow(shadeDisplayId))