summaryrefslogtreecommitdiff
path: root/api/api.go
diff options
context:
space:
mode:
author Daniel Norman <danielnorman@google.com> 2023-11-01 00:14:42 +0000
committer Daniel Norman <danielnorman@google.com> 2023-11-11 00:08:03 +0000
commitfd3b9c05bc9cf4c0e5cfdcabd3cc15a9a55a71df (patch)
tree0e719701171a310a4a68c161f67ddbbb6d593d57 /api/api.go
parente6f0e3fffbab5575430d7e6c1717ffd4c455c2cc (diff)
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 the frameworks/base implementation with the more full-featured Settings implementation. The other change in this topic in packages/apps/Settings changes Settings to use this consolidated single version. Feature flag: `adb shell device_config override accessibility android.view.accessibility.deduplicate_accessibility_warning_dialog true` Bug: 303511250 Test: Use this dialog in Accessibility Settings Test: Use this dialog in the a11y volume-key shortcut editor Test: atest AccessibilityServiceWarningTest Test: atest AccessibilityShortcutChooserActivityTest Change-Id: I6e1acf7cecfaa0dce422f7dfac3f270b9902dfe9
Diffstat (limited to 'api/api.go')
0 files changed, 0 insertions, 0 deletions