Daniel Norman 77db500fcb Tech debt cleanup: Consolidates A11yService warning dialog.
Both frameworks/base and the Settings app define almost-identical copies
of a warning dialog shown when enabling an accessibility service.
The frameworks/base version was used for contexts outside of Settings
(e.g. while editing the volume key shortcut after triggering it with
2+ features already enabled) while the Settings version was used in
the Settings app.

This change replaces version used in Settings with the version defined
in frameworks/base.

The warning dialog's functionality is tested in
AccessibilityServiceWarningTest in frameworks/base.

Feature flag:
`adb shell device_config override accessibility android.view.accessibility.deduplicate_accessibility_warning_dialog true`

Bug: 303511250
Test: atest AccessibilityServiceWarningTest
Test: existing A11ySettings robotests
Change-Id: Iad2f13040d53d82a4afb0353fae3ac355b5548d6
2023-11-10 18:38:53 +00:00
2023-11-07 04:55:49 +00:00
2022-04-14 09:55:36 +00:00
2023-09-28 10:40:22 -07:00
2020-01-16 06:45:18 +00:00
2023-10-26 19:54:52 +00:00
2022-10-06 09:10:38 -07:00
Description
No description provided
1.5 GiB
Languages
Java 89.7%
Kotlin 10.3%