summaryrefslogtreecommitdiffstats
path: root/partition.cpp
diff options
context:
space:
mode:
authorEthan Yonker <dees_troy@teamw.in>2017-02-03 22:30:52 +0100
committerEthan Yonker <dees_troy@teamw.in>2017-02-08 04:30:01 +0100
commit01f4e035aa0833252b99dcbda0e08a327ba8bf3d (patch)
tree1777db38008da21e982f76a9add17f92275b5a3c /partition.cpp
parentMerge "Fix crash during check for TWRP app" into android-7.1 (diff)
downloadandroid_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar.gz
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar.bz2
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar.lz
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar.xz
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.tar.zst
android_bootable_recovery-01f4e035aa0833252b99dcbda0e08a327ba8bf3d.zip
Diffstat (limited to 'partition.cpp')
-rw-r--r--partition.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/partition.cpp b/partition.cpp
index 464438811..5cf017987 100644
--- a/partition.cpp
+++ b/partition.cpp
@@ -2210,7 +2210,8 @@ bool TWPartition::Backup_Tar(PartitionSettings *part_settings, pid_t *tar_fork_p
Backup_FileName = Backup_Name + "." + Current_File_System + ".win";
Full_FileName = part_settings->Backup_Folder + "/" + Backup_FileName;
- tar.has_data_media = Has_Data_Media;
+ if (Has_Data_Media)
+ gui_msg(Msg(msg::kWarning, "backup_storage_warning=Backups of {1} do not include any files in internal storage such as pictures or downloads.")(Display_Name));
tar.part_settings = part_settings;
tar.backup_exclusions = &backup_exclusions;
tar.setdir(Backup_Path);