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

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Settings/+/12217349

Change-Id: If1339cf8f15a72a08e3bb8b1992d52bf9fa9e221
This commit is contained in:
PETER LIANG
2020-07-29 02:48:12 +00:00
committed by Automerger Merge Worker
2 changed files with 12 additions and 1 deletions

View File

@@ -749,6 +749,17 @@
<item>Long</item>
</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. -->
<string-array name="long_press_timeout_selector_values" translatable="false">
<item>400</item>

View File

@@ -113,7 +113,7 @@
settings:controller="com.android.settings.accessibility.LockScreenRotationPreferenceController"/>
<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:key="select_long_press_timeout_preference"
android:persistent="false"