Fix some issues with wipe partition list
Change-Id: Ie7d5878faf86b8fa824b72211be7fd3596b471d7
This commit is contained in:
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user