summaryrefslogtreecommitdiffstats
path: root/gui/action.cpp
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-04-15 16:35:47 +0200
committerDees_Troy <dees_troy@teamw.in>2013-07-01 22:20:58 +0200
commit74fb2e94d5ff09d4b5871ca33160862f72a641b6 (patch)
tree516adb61ce9145d878875b5830974b158d67b6d5 /gui/action.cpp
parentSupport encrypted backup files (diff)
downloadandroid_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar.gz
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar.bz2
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar.lz
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar.xz
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.tar.zst
android_bootable_recovery-74fb2e94d5ff09d4b5871ca33160862f72a641b6.zip
Diffstat (limited to '')
-rw-r--r--gui/action.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/gui/action.cpp b/gui/action.cpp
index 9bd5ce5fb..3e1f793df 100644
--- a/gui/action.cpp
+++ b/gui/action.cpp
@@ -818,6 +818,13 @@ int GUIAction::doAction(Action action, int isThreaded /* = 0 */)
} else {
skip = true;
}
+ } else if (wipe_path == "INTERNAL") {
+ if (!PartitionManager.Wipe_Media_From_Data()) {
+ ret_val = false;
+ break;
+ } else {
+ skip = true;
+ }
}
if (!skip) {
if (!PartitionManager.Wipe_By_Path(wipe_path)) {