summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml21
-rw-r--r--res/values/strings.xml8
-rw-r--r--res/xml/development_prefs.xml7
3 files changed, 36 insertions, 0 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index 3f2491512..1286f87ae 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -702,6 +702,27 @@
<item>1500</item>
</string-array>
+ <!-- Titles for runtime selection preference. [CHAR LIMIT=35] -->
+ <string-array name="select_runtime_titles">
+ <item>Dalvik</item>
+ <item>ART</item>
+ <item>ART (debug)</item>
+ </string-array>
+
+ <!-- Values for runtime selection preference. -->
+ <string-array name="select_runtime_values" translatable="false" >
+ <item>libdvm.so</item>
+ <item>libart.so</item>
+ <item>libartd.so</item>
+ </string-array>
+
+ <!-- Summaries for runtime selection preference. [CHAR LIMIT=100]-->
+ <string-array name="select_runtime_summaries" >
+ <item>Use Dalvik</item>
+ <item>Use ART</item>
+ <item>Use ART debug build</item>
+ </string-array>
+
<!-- Titles for HDCP checking preference. [CHAR LIMIT=35] -->
<string-array name="hdcp_checking_titles">
<item>Never check</item>
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 839519222..21a4e043d 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -3074,6 +3074,14 @@
<string name="keep_screen_on">Stay awake</string>
<!-- setting Checkbox summary whether to keep the screen on when plugged in -->
<string name="keep_screen_on_summary">Screen will never sleep while charging</string>
+
+ <!-- Runtime selection title, used for debug purposes only. [CHAR LIMIT=25] -->
+ <string name="select_runtime_title">Select runtime </string>
+ <!-- Runtime selection dialog title, used for debug purposes only. [CHAR LIMIT=25] -->
+ <string name="select_runtime_dialog_title">Select runtime</string>
+ <!-- Message of dialog confirming that user wants to restart their device with a new runtime -->
+ <string name="select_runtime_warning_message">Reboot to change runtime from <xliff:g id="old" example="libdvm.so">%1$s</xliff:g> to <xliff:g id="new" example="libart.so">%2$s</xliff:g>?</string>
+
<!-- Setting Checkbox title whether to allow mock locations -->
<string name="allow_mock_location">Allow mock locations</string>
<!-- setting Checkbox summary whether to allow mock locations -->
diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml
index 82657795c..eddc41150 100644
--- a/res/xml/development_prefs.xml
+++ b/res/xml/development_prefs.xml
@@ -38,6 +38,13 @@
android:summary="@string/keep_screen_on_summary"/>
<ListPreference
+ android:key="select_runtime"
+ android:title="@string/select_runtime_title"
+ android:dialogTitle="@string/select_runtime_dialog_title"
+ android:entries="@array/select_runtime_titles"
+ android:entryValues="@array/select_runtime_values" />
+
+ <ListPreference
android:key="hdcp_checking"
android:title="@string/hdcp_checking_title"
android:dialogTitle="@string/hdcp_checking_dialog_title"