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

Skip to content
Commit 240bbb0b authored by Daniel Norman's avatar Daniel Norman
Browse files

Removes type SYSTEM_ALERT_DIALOG from the A11yService warning dialog.

This type is unnecessary and causes unpleasant UX when the user attempts
to go home or open recent apps while the dialog is showing.

This does not affect the touch-consuming property of the dialog, so it
should still prevent interaction while another window is drawing over
it (FLAG_WINDOW_IS_OBSCURED/FLAG_WINDOW_IS_PARTIALLY_OBSCURED).

Bug: 336719951
Flag: android.view.accessibility.warning_use_default_dialog_type
Test: atest AccessibilityServiceWarningTest
Test: Observe that the dialog still works as expected, both when
      triggered by the Settings app and when triggered by the bespoke
      volume key shortcut editor.
Test: Observe that the dialog minimizes with the app window while
      switching apps.
Change-Id: Iaefd299b94df9cefd7fb5fbb4239c174d7bf7a63
parent 562064be
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment