summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorDees Troy <dees_troy@teamw.in>2014-04-01 20:55:39 +0200
committerGerrit Code Review <gerrit2@gerrit>2014-04-01 20:55:40 +0200
commit3a746d607e0f45da038987358e760ecef3c9ad25 (patch)
tree1ed84b39d576e7b3c1915c096eb6d6b545763aec /partition.cpp
parentMerge "if md5 check is not selected for subpartitions, don't check it." into android-4.4 (diff)
parentRemove deprecated tar exclude functionality (diff)
downloadandroid_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar.gz
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar.bz2
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar.lz
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar.xz
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.tar.zst
android_bootable_recovery-3a746d607e0f45da038987358e760ecef3c9ad25.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/partition.cpp b/partition.cpp
index 1ae54f57e..2ebb5c597 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -1618,11 +1618,7 @@ bool TWPartition::Backup_Tar(string backup_folder) {
DataManager::GetValue(TW_USE_COMPRESSION_VAR, use_compression);
tar.use_compression = use_compression;
- //exclude Google Music Cache
- vector<string> excludedirs = du.get_absolute_dirs();
- for (int i = 0; i < excludedirs.size(); ++i) {
- tar.setexcl(excludedirs.at(i));
- }
+
#ifndef TW_EXCLUDE_ENCRYPTED_BACKUPS
DataManager::GetValue("tw_encrypt_backup", use_encryption);
if (use_encryption && Can_Encrypt_Backup) {