From 4159aedfaa35e9a41ba9478b7bb00f661c6646d3 Mon Sep 17 00:00:00 2001 From: Dees Troy Date: Fri, 28 Feb 2014 17:24:43 +0000 Subject: Restore capabilities to run-as binary Change-Id: I9e2b8e9b69c94b94c57143c04b950530490ec33e --- partitionmanager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'partitionmanager.cpp') 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::vectorBackup_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 { -- cgit v1.2.3