summaryrefslogtreecommitdiffstats
path: root/partitions.hpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2014-09-15 20:30:42 +0200
committerEthan Yonker <dees_troy@teamw.in>2014-09-15 20:30:42 +0200
commit1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7 (patch)
treec3a1832df946cd87d2b36620009b846fc0315be1 /partitions.hpp
parentInclude no strict aliasing for MTP (diff)
downloadandroid_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar.gz
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar.bz2
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar.lz
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar.xz
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.tar.zst
android_bootable_recovery-1eff6cd5d17eb1e877a0658818d2f8ed7c1d40c7.zip
Diffstat (limited to 'partitions.hpp')
-rw-r--r--partitions.hpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/partitions.hpp b/partitions.hpp
index 4fe155ec5..294c89e62 100644
--- a/partitions.hpp
+++ b/partitions.hpp
@@ -74,6 +74,9 @@ public:
string MTD_Name; // Name of the partition for MTD devices
bool Is_Present; // Indicates if the partition is currently present as a block device
+protected:
+ bool Has_Data_Media; // Indicates presence of /data/media, may affect wiping and backup methods
+
private:
bool Process_Fstab_Line(string Line, bool Display_Error); // Processes a fstab line
void Find_Actual_Block_Device(); // Determines the correct block device and stores it in Actual_Block_Device
@@ -147,7 +150,6 @@ private:
Backup_Method_enum Backup_Method; // Method used for backup
bool Can_Encrypt_Backup; // Indicates if this item can be encrypted during backup
bool Use_Userdata_Encryption; // Indicates if we will use userdata encryption splitting on an encrypted backup
- bool Has_Data_Media; // Indicates presence of /data/media, may affect wiping and backup methods
bool Has_Android_Secure; // Indicates the presence of .android_secure on this partition
bool Is_Storage; // Indicates if this partition is used for storage for backup, restore, and installing zips
bool Is_Settings_Storage; // Indicates that this storage partition is the location of the .twrps settings file and the location that is used for custom themes