Merge "Create new strings for accessibility long press timout to avoid the string gender issue."

This commit is contained in:
PETER LIANG
2020-07-29 02:44:54 +00:00
committed by Android (Google) Code Review
2 changed files with 12 additions and 1 deletions

View File

@@ -749,6 +749,17 @@
<item>Long</item> <item>Long</item>
</string-array> </string-array>
<!-- Avoid the gender issue, create the new fork of the string long_press_timeout_selector_titles -->
<!-- Titles for the list of long press timeout options in preference. -->
<string-array name="long_press_timeout_selector_list_titles">
<!-- A title for the option for short long-press timeout [CHAR LIMIT=25] -->
<item>Short</item>
<!-- A title for the option for medium long-press timeout [CHAR LIMIT=25] -->
<item>Medium</item>
<!-- A title for the option for long long-press timeout [CHAR LIMIT=25] -->
<item>Long</item>
</string-array>
<!-- Values for the list of long press timeout options. --> <!-- Values for the list of long press timeout options. -->
<string-array name="long_press_timeout_selector_values" translatable="false"> <string-array name="long_press_timeout_selector_values" translatable="false">
<item>400</item> <item>400</item>

View File

@@ -113,7 +113,7 @@
settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/> settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/>
<ListPreference <ListPreference
android:entries="@array/long_press_timeout_selector_titles" android:entries="@array/long_press_timeout_selector_list_titles"
android:entryValues="@array/long_press_timeout_selector_values" android:entryValues="@array/long_press_timeout_selector_values"
android:key="select_long_press_timeout_preference" android:key="select_long_press_timeout_preference"
android:persistent="false" android:persistent="false"