OSDN Git Service

Settings: Add Superuser entry
authorKoushik Dutta <koushd@gmail.com>
Thu, 28 Feb 2013 22:49:24 +0000 (14:49 -0800)
committerChih-Wei Huang <cwhuang@linux.org.tw>
Tue, 14 Apr 2020 14:49:48 +0000 (22:49 +0800)
commitf26d84b00053c32f8c4c97682819f93cf9a5f29c
tree0592ecf35a85ee593bcc8ccfe371a7d2279a578a
parenteb6e50ee4c21b4c7a09eb3c483156d486443d2b7
Settings: Add Superuser entry

Amended for oreo-x86 porting by cwhuang.

Squashed commit of the following:

Author: Koushik Dutta <koushd@gmail.com>
Switch to new Superuser
Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c

Author: Danny Baumann <dannybaumann@web.de>
Hide Superuser entry if root access for apps is disabled.
Change-Id: Ibb77ba5a0fccf22564a26b8b1e13f7762c65718e

Author: Ricardo Cerqueira <cyanogenmod@cerqueira.org>
Development: Root for apps is unavailable if the su daemon isn't running

The superuser options are tied to the Superuser app variant we use,
which in turn is tied to the su daemon. No daemon, no menu options.
Change-Id: I41d58e62986759336ab38e67f26a558c2eed5aa3

Change-Id: I9d91392ad6fbc9953d19059ab59b91d214c00e0c
12 files changed:
Android.mk
AndroidManifest.xml
proguard.flags
src/com/android/settings/Settings.java
src/com/android/settings/SettingsActivity.java
src/com/android/settings/core/gateway/SettingsGateway.java
src/com/android/settings/cyanogenmod/superuser/MultitaskSuRequestActivity.java [new file with mode: 0644]
src/com/android/settings/cyanogenmod/superuser/NotifyActivity.java [new file with mode: 0644]
src/com/android/settings/cyanogenmod/superuser/PolicyNativeFragment.java [new file with mode: 0644]
src/com/android/settings/cyanogenmod/superuser/RequestActivity.java [new file with mode: 0644]
src/com/android/settings/cyanogenmod/superuser/SuReceiver.java [new file with mode: 0644]
src/com/android/settings/development/RootAccessPreferenceController.java