diff options
author | Dees_Troy <dees_troy@teamw.in> | 2013-04-15 16:35:47 +0200 |
---|---|---|
committer | Dees_Troy <dees_troy@teamw.in> | 2013-07-01 22:20:58 +0200 |
commit | 74fb2e94d5ff09d4b5871ca33160862f72a641b6 (patch) | |
tree | 516adb61ce9145d878875b5830974b158d67b6d5 /gui/action.cpp | |
parent | Support encrypted backup files (diff) | |
download | android_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 'gui/action.cpp')
-rw-r--r-- | gui/action.cpp | 7 |
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)) { |