diff options
author | 2024-05-22 17:59:32 +0000 | |
---|---|---|
committer | 2024-05-22 18:34:59 +0000 | |
commit | 05a2f1c6cfe68f0aeb69b2dcea82be53265fff2f (patch) | |
tree | 1fc8b9aa58a0a7777b341265bb6e6c69d3cd3005 /services/accessibility/accessibility.aconfig | |
parent | 65c267554255fc99a90036421182f155992661c2 (diff) |
Clears the default service from A11Y_SHORTCUT B&R.
If the restored value contains the default service then it is removed,
unless the previous value (pre-restore) also contains the default
service.
Bug: 341374402
Flag: com.android.server.accessibility.clear_default_from_a11y_shortcut_target_service_restore
Test: atest AccessibilityManagerServiceTest
Test: Create a backup with the default service in the Setting.
- Restore backup when the Setting is empty.
Observe Setting is unchanged.
- Restore backup when the Setting has another service.
Observe Setting is unchanged.
- Restore backup when the Setting already has the default service.
Observe Setting keeps the default service.
Change-Id: Id7f9e6de96f032abf1f073cbef801fd2dbcee9a1
Diffstat (limited to 'services/accessibility/accessibility.aconfig')
-rw-r--r-- | services/accessibility/accessibility.aconfig | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/services/accessibility/accessibility.aconfig b/services/accessibility/accessibility.aconfig index a50fb9a4c318..1c57dd3f5d5a 100644 --- a/services/accessibility/accessibility.aconfig +++ b/services/accessibility/accessibility.aconfig @@ -25,6 +25,16 @@ flag { } flag { + name: "clear_default_from_a11y_shortcut_target_service_restore" + namespace: "accessibility" + description: "Clears the config_defaultAccessibilityService from B&R for ACCESSIBILITY_SHORTCUT_TARGET_SERVICE." + bug: "341374402" + metadata { + purpose: PURPOSE_BUGFIX + } +} + +flag { name: "compute_window_changes_on_a11y_v2" namespace: "accessibility" description: "Computes accessibility window changes in accessibility instead of wm package." @@ -209,4 +219,4 @@ flag { namespace: "accessibility" description: "Feature allows users to change color correction saturation for daltonizer." bug: "322829049" -}
\ No newline at end of file +} |