Add flag for retaining layout version

Needed on Sony mint (Xperia T) as the /data/media folder is a
separate partition and normal data media wiping is not appropriate
for this device but the layout version file needs to be retained
for Android 4.2 multi-user.
This commit is contained in:
Dees_Troy
2013-01-15 16:51:18 +00:00
parent 999b39d041
commit 16c2b31827
3 changed files with 52 additions and 37 deletions
+2
View File
@@ -163,6 +163,8 @@ void TWPartitionManager::Output_Partition(TWPartition* Part) {
printf("Is_Storage ");
if (Part->Ignore_Blkid)
printf("Ignore_Blkid ");
if (Part->Retain_Layout_Version)
printf("Retain_Layout_Version ");
printf("\n");
if (!Part->SubPartition_Of.empty())
printf(" SubPartition_Of: %s\n", Part->SubPartition_Of.c_str());