summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2013-09-11 16:56:20 +0200
committerGerrit Code Review <gerrit@198.50.184.117>2013-09-12 16:11:32 +0200
commitf193f88e6d54c186bd425c7f77dab3e6782b046b (patch)
tree257462bc1bac3b2e28e9599ff1993ee3d20f56c9 /gui/action.cpp
parentPull ROM info from build.prop for backup names (diff)
downloadandroid_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar.gz
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar.bz2
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar.lz
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar.xz
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.tar.zst
android_bootable_recovery-f193f88e6d54c186bd425c7f77dab3e6782b046b.zip
Diffstat (limited to '')
-rw-r--r--gui/action.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 78e862526..36f400613 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -603,6 +603,7 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
}
if (function == "togglestorage") {
+ LOGERR("togglestorage action was deprecated from TWRP\n");
if (arg == "internal") {
DataManager::SetValue(TW_USE_EXTERNAL_STORAGE, 0);
} else if (arg == "external") {
@@ -1290,8 +1291,8 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
if (simulate) {
simulate_progress_bar();
} else {
- if (!TWFunc::Fix_su_Perms())
- op_status = 1;
+ LOGERR("Fixing su permissions was deprecated from TWRP.\n");
+ LOGERR("4.3+ ROMs with SELinux will always lose su perms.\n");
}
operation_end(op_status, simulate);