From 16c2b318279e2ee22cfa85b3caf07a8a899e98f1 Mon Sep 17 00:00:00 2001 From: Dees_Troy Date: Tue, 15 Jan 2013 16:51:18 +0000 Subject: 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. --- partitions.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'partitions.hpp') diff --git a/partitions.hpp b/partitions.hpp index 7660b8b4e..47436b0ea 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -107,6 +107,7 @@ protected: string Fstab_File_System; // File system from the recovery.fstab int Format_Block_Size; // Block size for formatting bool Ignore_Blkid; // Ignore blkid results due to superblocks lying to us on certain devices / partitions + bool Retain_Layout_Version; // Retains the .layout_version file during a wipe (needed on devices like Sony Xperia T where /data and /data/media are separate partitions) #ifdef TW_INCLUDE_CRYPTO_SAMSUNG string EcryptFS_Password; // Have to store the encryption password to remount #endif -- cgit v1.2.3