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>
Tue, 27 Feb 2018 07:47:59 +0000 (15:47 +0800)
commit053573caa9015751ec1d4bf57cbbb6e9229b85b4
tree5185f12bc73ac511fc2ab3daa50fd846c24b2c93
parentc7367aa8c987e34135df43dd95ca575123c7d873
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/development/DevelopmentSettings.java