summaryrefslogtreecommitdiffstats
path: root/Settings
diff options
context:
space:
mode:
authordhacker29 <dhackerdvm@gmail.com>2015-11-07 16:56:58 -0500
committerdhacker29 <dhackerdvm@gmail.com>2015-11-07 16:56:58 -0500
commitdeae7e4cc590da4714896808fbbc6b1798f4724f (patch)
tree5df51d76a7fee53560e498da61c1310abeaf0449 /Settings
parent4cd60383fe94abeb55c55917fbc12ba186af9adc (diff)
downloadandroid_packages_apps_TvSettings-deae7e4cc590da4714896808fbbc6b1798f4724f.tar.gz
android_packages_apps_TvSettings-deae7e4cc590da4714896808fbbc6b1798f4724f.tar.bz2
android_packages_apps_TvSettings-deae7e4cc590da4714896808fbbc6b1798f4724f.zip
DeveloperOptions: Show root access warning for APPS selection also
Change-Id: Ibe6d3ecd04b654c4306bfbf49e8ab3663aa981cc
Diffstat (limited to 'Settings')
-rw-r--r--Settings/src/com/android/tv/settings/system/DeveloperOptionsActivity.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Settings/src/com/android/tv/settings/system/DeveloperOptionsActivity.java b/Settings/src/com/android/tv/settings/system/DeveloperOptionsActivity.java
index 60bfa43e..3c29c15b 100644
--- a/Settings/src/com/android/tv/settings/system/DeveloperOptionsActivity.java
+++ b/Settings/src/com/android/tv/settings/system/DeveloperOptionsActivity.java
@@ -1371,10 +1371,10 @@ public class DeveloperOptionsActivity extends SettingsLayoutActivity {
switch (action) {
case ACTION_ROOT_ACCESS_APPS:
setting = "1";
- SettingsHelper.setSystemProperties(ROOT_ACCESS_PROPERTY, "1");
SettingsHelper.setSystemProperties(ADB_ROOT_PROPERTY, "0");
setGlobalSettingBoolean(Settings.Global.ADB_ENABLED, false);
setGlobalSettingBoolean(Settings.Global.ADB_ENABLED, true);
+ rootAccessWarning();
break;
case ACTION_ROOT_ACCESS_ADB:
setting = "2";