Merge "[Catalyst] Remove PreferenceMetadata usages" into main
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 9930c36..1a9e0a8 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -5489,11 +5489,11 @@
<!-- Title for the notification that high contrast text has been replaced. [CHAR LIMIT=NONE] -->
<string name="accessibility_notification_high_contrast_text_title">High contrast text has been replaced</string>
<!-- Text content for the notification that high contrast text has been replaced. [CHAR LIMIT=NONE] -->
- <string name="accessibility_notification_high_contrast_text_content">Try Maximize text contrast instead. Find it in Settings.</string>
+ <string name="accessibility_notification_high_contrast_text_content">Try Text outlines instead. Find it in Settings.</string>
<!-- Action for the notification to high contrast text. [CHAR LIMIT=35] -->
<string name="accessibility_notification_high_contrast_text_action">Open Settings</string>
- <!-- Title for the accessibility preference to high contrast text. [CHAR LIMIT=35] -->
- <string name="accessibility_toggle_maximize_text_contrast_preference_title">Maximize text contrast</string>
+ <!-- Title for the accessibility preference that adds an outline behind text to increase contrast and legibility. [CHAR LIMIT=35] -->
+ <string name="accessibility_toggle_maximize_text_contrast_preference_title">Text outlines</string>
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->
<string name="accessibility_toggle_maximize_text_contrast_preference_summary">Add a black or white background around text to increase contrast</string>
<!-- Title for the accessibility preference to auto update screen magnification. [CHAR LIMIT=35] -->
@@ -5978,6 +5978,8 @@
<string name="keywords_display_size">screen size, large screen</string>
<!-- List of synonyms used in the settings search bar to find the “Bold text”. [CHAR LIMIT=NONE] -->
<string name="keywords_bold_text">High contrast, low vision, bold font, bold face</string>
+ <!-- List of synonyms used in the settings search bar to find "Text outlines", previously known as "High contrast text". [CHAR LIMIT=NONE] -->
+ <string name="keywords_maximize_text_contrast">high contrast text</string>
<!-- List of synonyms used in the settings search bar to find the “Select to Speak”. [CHAR LIMIT=NONE] -->
<string name="keywords_select_to_speak"></string>
<!-- List of synonyms used in the settings search bar to find the “Color correction”. [CHAR LIMIT=NONE] -->
diff --git a/res/xml/accessibility_text_reading_options.xml b/res/xml/accessibility_text_reading_options.xml
index 40201f0..30594fc 100644
--- a/res/xml/accessibility_text_reading_options.xml
+++ b/res/xml/accessibility_text_reading_options.xml
@@ -57,7 +57,8 @@
android:key="toggle_high_text_contrast_preference"
android:persistent="false"
android:title="@string/accessibility_toggle_maximize_text_contrast_preference_title"
- android:summary="@string/accessibility_toggle_maximize_text_contrast_preference_summary" />
+ android:summary="@string/accessibility_toggle_maximize_text_contrast_preference_summary"
+ settings:keywords="@string/keywords_maximize_text_contrast"/>
<com.android.settings.accessibility.TextReadingResetPreference
android:key="reset"