android 设置添加永不休眠项 修复切换小种语言时无永不休眠项导致的显示错误问题

diff --git a/apps/Settings/res/values-zh-rCN/arrays.xml b/apps/Settings/res/values-zh-rCN/arrays.xml
index 617f1da..b0e3e50 100755
--- a/apps/Settings/res/values-zh-rCN/arrays.xml
+++ b/apps/Settings/res/values-zh-rCN/arrays.xml
@@ -49,6 +49,17 @@
     <item msgid="2314124409517439288">"10分钟"</item>
     <item msgid="6864027152847611413">"30分钟"</item>
   </string-array>
+    <string-array name="qhj_screen_timeout_entries">
+    <item>"永不休眠"</item>
+    <item msgid="3342301044271143016">"15秒"</item>
+    <item msgid="8881760709354815449">"30秒"</item>
+    <item msgid="7589406073232279088">"1分钟"</item>
+    <item msgid="7001195990902244174">"2分钟"</item>
+    <item msgid="7489864775127957179">"5分钟"</item>
+    <item msgid="2314124409517439288">"10分钟"</item>
+    <item msgid="6864027152847611413">"30分钟"</item>
+  </string-array>
+  
   <string-array name="dream_timeout_entries">
     <item msgid="3149294732238283185">"永不"</item>
     <item msgid="2194151041885903260">"15秒"</item>
diff --git a/apps/Settings/res/values/arrays.xml b/apps/Settings/res/values/arrays.xml
index 839a07e..e943a9d 100755
--- a/apps/Settings/res/values/arrays.xml
+++ b/apps/Settings/res/values/arrays.xml
@@ -75,6 +75,17 @@
         <item>30 minutes</item>
     </string-array>
 
+    <string-array name="adw_screen_timeout_entries">
+        <item>Never</item>
+        <item>15 seconds</item>
+        <item>30 seconds</item>
+        <item>1 minute</item>
+        <item>2 minutes</item>
+        <item>5 minutes</item>
+        <item>10 minutes</item>
+        <item>30 minutes</item>
+    </string-array>    
+
     <!-- Do not translate. -->
     <string-array name="screen_timeout_values" translatable="false">
         <item>1728000000</item>
diff --git a/apps/Settings/res/xml/display_settings.xml b/apps/Settings/res/xml/display_settings.xml
index c7c245c..b4f2251 100755
--- a/apps/Settings/res/xml/display_settings.xml
+++ b/apps/Settings/res/xml/display_settings.xml
@@ -54,7 +54,7 @@
                 android:title="@string/screen_timeout"
                 android:summary="@string/screen_timeout_summary"
                 android:persistent="false"
-                android:entries="@array/screen_timeout_entries"
+                android:entries="@array/qhj_screen_timeout_entries"
                 android:entryValues="@array/screen_timeout_values" />
 
         <SwitchPreference
 

©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页