summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-03-06 17:18:16 +0100
committerGerrit Code Review <gerrit2@gerrit>2014-03-06 17:18:16 +0100
commit822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b (patch)
tree5042228a852a9ebe9a7f7b1fc4ec59f55bef5714 /partitionmanager.cpp
parentMerge "Tweak 240x240 theme" into android-4.4 (diff)
parentRestore capabilities to run-as binary (diff)
downloadandroid_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar.gz
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar.bz2
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar.lz
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar.xz
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.tar.zst
android_bootable_recovery-822c3beb8aa978aa0fd0dc489b37a97e9bff2b6b.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index e6193f919..db054d28d 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -1829,7 +1829,7 @@ void TWPartitionManager::Get_Partition_List(string ListType, std::vector<Partiti
while (end_pos != string::npos && start_pos < Restore_List.size()) {
restore_path = Restore_List.substr(start_pos, end_pos - start_pos);
if ((restore_part = Find_Partition_By_Path(restore_path)) != NULL) {
- if (restore_part->Backup_Name == "recovery" && !restore_part->Can_Be_Backed_Up || restore_part->Is_SubPartition) {
+ if ((restore_part->Backup_Name == "recovery" && !restore_part->Can_Be_Backed_Up) || restore_part->Is_SubPartition) {
// Don't allow restore of recovery (causes problems on some devices)
// Don't add subpartitions to the list of items
} else {