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

Commit 2d6954a4 authored by Anton Potapov's avatar Anton Potapov
Browse files

Reset keyguard display shutdown timeout alongside the volume dialog

timeout

Flag: com.android.systemui.volume_redesign
Fixes: 395818649
Test: atest VolumeDialogVisibilityInteractorTest
Test: manual on the foldable. lock the device and adjust the volume.
Change-Id: Icdbc1c5dfd6678e9ec56cd1d98eac6afb75e9eae
parent 87ae0365
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -143,6 +143,7 @@ class VolumeDialogVisibilityInteractorTest : SysuiTestCase() {

                assertThat(visibilityModel)
                    .isInstanceOf(VolumeDialogVisibilityModel.Visible::class.java)
                assertThat(fakeVolumeDialogController.hasUserActivity).isTrue()
            }
        }
}
+1 −0
Original line number Diff line number Diff line
@@ -108,6 +108,7 @@ constructor(

    /** Resets current dialog timeout. */
    fun resetDismissTimeout() {
        controller.userActivity()
        mutableDismissDialogEvents.tryEmit(Unit)
    }