summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorbigbiff bigbiff <bigbiff@teamw.in>2017-03-20 23:53:53 +0100
committerbigbiff bigbiff <bigbiff@teamw.in>2017-04-23 20:37:22 +0200
commitb5ecaad27a358a525d4f25282ca8aacd55bd4cae (patch)
treecb2291ab0060265e19f19562e8b3e28423b91626 /partitionmanager.cpp
parent3.1.0 (diff)
downloadandroid_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.gz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.bz2
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.lz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.xz
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.tar.zst
android_bootable_recovery-b5ecaad27a358a525d4f25282ca8aacd55bd4cae.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index 8aceec268..0b9918d53 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -915,6 +915,10 @@ int TWPartitionManager::Run_Backup(bool adbbackup) {
bool TWPartitionManager::Restore_Partition(PartitionSettings *part_settings) {
time_t Start, Stop;
+ if (part_settings->adbbackup) {
+ part_settings->Part->Set_Backup_FileName(part_settings->Part->Backup_Name + "." + part_settings->Part->Current_File_System + ".win");
+ }
+
TWFunc::SetPerformanceMode(true);
time(&Start);