From 3fdcda46629e8e7fc19e89c51350b1e6f151e05e Mon Sep 17 00:00:00 2001 From: Ethan Yonker Date: Wed, 30 Nov 2016 12:29:37 -0600 Subject: Improve backup & wipe exclusion handling Rename twrpDU.* to exclude.* Remove global variable for du and replace with partition specific variables. Use separate exclusion lists for backups and wiping. Clean up some includes Fix some parenthesis in twrp.cpp that I messed up. Note: twrpTarMain command line utility compiles but probably does not work correctly yet due to not properly setting part_settings Change-Id: Idec9c3e6a8782ba53f3420fa79ba33394f4f85fb --- partitions.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'partitions.hpp') diff --git a/partitions.hpp b/partitions.hpp index 4b9354fd8..3f2e40a5d 100644 --- a/partitions.hpp +++ b/partitions.hpp @@ -21,7 +21,7 @@ #include #include -#include "twrpDU.hpp" +#include "exclude.hpp" #include "tw_atomic.hpp" #include "progresstracking.hpp" @@ -215,6 +215,8 @@ private: bool Can_Flash_Img; // Indicates if this partition can have images flashed to it via the GUI bool Mount_Read_Only; // Only mount this partition as read-only bool Is_Adopted_Storage; // Indicates that this partition is for adopted storage (android_expand) + TWExclude backup_exclusions; + TWExclude wipe_exclusions; friend class TWPartitionManager; friend class DataManager; -- cgit v1.2.3