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

Commit c746b257 authored by helen cheuk's avatar helen cheuk
Browse files

[Action Corner] Reduce delay for active action corner

Reduce delay to 50ms.

Bug: 425306506
Test: ActionCornerRepositoryTest
Flag: com.android.systemui.shared.cursor_hot_corner
Change-Id: Ia034f89ac54948172d23b72ed0d94c583968bc18
parent 972e81d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -279,7 +279,7 @@ class ActionCornerRepositoryTest : SysuiTestCase() {
    companion object {
        private val metrics = WindowMetrics(Rect(0, 0, 2560, 1600), mock<WindowInsets>(), 2f)
        private const val ACTION_CORNER_DP = 8f
        private val DEBOUNCE_DELAY = 200.milliseconds
        private val DEBOUNCE_DELAY = 50.milliseconds
        private val cornerSize = ACTION_CORNER_DP * metrics.density

        private val display =
+1 −1
Original line number Diff line number Diff line
@@ -142,6 +142,6 @@ constructor(

    companion object {
        private const val ACTION_CORNER_DP = 8f
        private val DEBOUNCE_DELAY = 200.milliseconds
        private val DEBOUNCE_DELAY = 50.milliseconds
    }
}