packages/SystemUI/src/com/android/systemui/statusbar/policy/ui/dialog/viewmodel/ModeTileViewModel.kt
+3
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
This allows screen readers to read the state of the button, and react to presses that change it. The description now reads "[on/off], [mode name], [trigger description]" similarly to how other quick settings tiles behave. Also adds long click label so it will read "double tap and hold to open settings". Bug: 359845144 Test: manual with TalkBack, ModesDialogViewModelTest Flag: android.app.modes_ui Change-Id: Icb31b77ebe31e607fde87eb51356ea27bafc9278