From: Tom Marshall Date: Mon, 27 Jun 2016 21:31:57 +0000 (-0700) Subject: Settings: Set root access options appropriately X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=7534d77b433ffa7223d7fe817f34e3daa306dc06;p=android-x86%2Fpackages-apps-Settings.git Settings: Set root access options appropriately It is possible to be running a user build with a debuggable boot image. In this case, "su" will not be available. So only show none/adb. Jira: BACON-4461 Change-Id: Iaa7df8311b9ea81eabb1566ba6f9159fdc9fab34 --- diff --git a/res/values/cm_arrays.xml b/res/values/cm_arrays.xml index c439175e4c..06d237baff 100644 --- a/res/values/cm_arrays.xml +++ b/res/values/cm_arrays.xml @@ -30,6 +30,16 @@ 3 + + @string/root_access_none + @string/root_access_adb + + + + 0 + 2 + + @string/profile_action_system diff --git a/res/xml/development_prefs.xml b/res/xml/development_prefs.xml index 0c9856fcd3..a332ee5f2d 100644 --- a/res/xml/development_prefs.xml +++ b/res/xml/development_prefs.xml @@ -82,9 +82,7 @@ + android:persistent="false" />