OSDN Git Service

Add preference for enabling root access (3/3)
authorSteve Kondik <shade@chemlab.org>
Sun, 15 Jan 2012 01:05:59 +0000 (17:05 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Thu, 5 May 2016 10:08:31 +0000 (18:08 +0800)
commitb31f926061591bd0d2fab21150f2ac783d52b261
treecb5f47b8866f26967846f824c9505e4fe388327f
parentff699b35063e9737ccc50058bc7c58733486ff19
Add preference for enabling root access (3/3)

 * Root over ADB is now disabled by default on non-eng builds
 * Requires support in su binary and adbd
 * Root access can be configured to use ADB only, apps only, or all

Change-Id: I132a35a31c676511db954ff19120fa6d3c795b23

Conflicts:
res/values/arrays.xml
res/values/strings.xml
src/com/android/settings/DevelopmentSettings.java

Settings: Make CM developer options additions respect the on/off toggle
This commit fixes the problem where, when dev options are turned off, our
CM customizations don't turn off with the rest of the options and the
dangerous option (root access) does not reset to a safe setting.

Change-Id: I879756ea353ce2940c05b224998fc1a945f2ceff

DevSettings: Fix the root-access toggle in eng builds

It was being unconditionally removed, put it back

Change-Id: I8eecab7353c59b224d917cc1710124f57656cf47
res/values/cm_arrays.xml [new file with mode: 0644]
res/values/cm_strings.xml [new file with mode: 0644]
res/xml/development_prefs.xml
src/com/android/settings/DevelopmentSettings.java