Customize the text reading preview layouts

Make it possible to customize the available text reading preview
layouts through overlays.

Bug: 307481249
Test: make RunSettingsRoboTests ROBOTEST_FILTER=
"com.android.settings.accessibility.TextReadingPreviewPreferenceTest"
(cherry picked from https://android-review.googlesource.com/q/commit:2a7da9c433f57db9b7b9ad5c54bddb5da81e5693)
Change-Id: I3e55eeb7545a4d5d1f689ab4160e453996b58bdb
This commit is contained in:
David Magno
2023-10-25 18:10:38 +00:00
committed by Daniel Norman
parent 27dd22302f
commit eb2276c01c
4 changed files with 53 additions and 14 deletions

View File

@@ -5,6 +5,13 @@ package: "com.android.settings.flags"
# NOTE: All Settings flags share the same Flags class, so prefix our
# flags with 'accessibility' to prevent naming collision.
flag {
name: "accessibility_customize_text_reading_preview"
namespace: "accessibility"
description: "Pulls the accessibility text-reading preview pages from a config."
bug: "307481249"
}
flag {
name: "accessibility_show_app_info_button"
namespace: "accessibility"