Remove mentions of "gesture" on the Accessibility Button settings page

Configures page to hide/replace elements that would mention gesture.
Also, provides context when necessary if a setting is disabled by the current button mode.

Demonstration video:
https://x20web.corp.google.com/users/jo/jonesriley/splitShortcut/a11yShortcutSettingsCleanup.mp4

Test: manual, navigate to the Accessibility Button "more options" page in gesture navigation mode. Verify there are no references to gesture.
Bug: 349178639
Flag: android.provider.a11y_standalone_gesture_enabled
Change-Id: I067738d23e74c00bab4010d187820d09013809ad
This commit is contained in:
Riley Jones
2024-09-06 18:19:10 +00:00
parent c43be041f5
commit 28e10455a1
5 changed files with 45 additions and 4 deletions

View File

@@ -5176,6 +5176,8 @@
<string name="accessibility_button_low_label">Transparent</string>
<!-- Label on the right side of transparency adjustment slider [CHAR LIMIT=30] -->
<string name="accessibility_button_high_label">Non-transparent</string>
<!-- Summary for settings that are disabled in the current button mode [CHAR LIMIT=30] -->
<string name="accessibility_button_disabled_button_mode_summary">Unavailable while using navigation bar button mode.</string>
<!-- Title for the accessibility preference to high contrast text. [CHAR LIMIT=35] -->
<string name="accessibility_toggle_high_text_contrast_preference_title">High contrast text</string>
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->