commit | 74fb2e94d5ff09d4b5871ca33160862f72a641b6 | [log] [tgz] |
---|---|---|
author | Dees_Troy <dees_troy@teamw.in> | Mon Apr 15 14:35:47 2013 +0000 |
committer | Dees_Troy <dees_troy@teamw.in> | Mon Jul 01 20:20:58 2013 +0000 |
tree | 516adb61ce9145d878875b5830974b158d67b6d5 | |
parent | 83bd483f3db1df4b69c1612030e1a1be05b303ad [diff] [blame] |
Fix some issues with wipe partition list Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
diff --git a/gui/action.cpp b/gui/action.cpp index 9bd5ce5..3e1f793 100644 --- a/gui/action.cpp +++ b/gui/action.cpp
@@ -818,6 +818,13 @@ } 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)) {