Add demo mode to dev options

Change-Id: I8c12dc55aef99b54d8d12f7d34e69ca77408f5b2
Fixes: 27919212
This commit is contained in:
Jason Monk
2016-04-12 13:09:13 -04:00
parent 2f99770cc1
commit fb0d8fb3a9
2 changed files with 9 additions and 0 deletions

View File

@@ -7375,4 +7375,7 @@
<!-- [CHAR LIMIT=25] Bluetooth is disabled. --> <!-- [CHAR LIMIT=25] Bluetooth is disabled. -->
<string name="bluetooth_disabled">Disabled</string> <string name="bluetooth_disabled">Disabled</string>
<!-- [CHAR LIMIT=60] Name of dev option called demo mode -->
<string name="demo_mode">Demo mode</string>
</resources> </resources>

View File

@@ -91,6 +91,12 @@
android:key="ota_disable_automatic_update" android:key="ota_disable_automatic_update"
android:title="@string/ota_disable_automatic_update" /> android:title="@string/ota_disable_automatic_update" />
<PreferenceScreen
android:key="demo_mode"
android:title="@string/demo_mode">
<intent android:action="com.android.settings.action.DEMO_MODE" />
</PreferenceScreen>
<PreferenceCategory android:key="debug_debugging_category" <PreferenceCategory android:key="debug_debugging_category"
android:title="@string/debug_debugging_category"> android:title="@string/debug_debugging_category">