summaryrefslogtreecommitdiffstats
path: root/openrecoveryscript.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 /openrecoveryscript.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 'openrecoveryscript.cpp')
-rw-r--r--openrecoveryscript.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/openrecoveryscript.cpp b/openrecoveryscript.cpp
index b45cf0a4b..faa0f9ca1 100644
--- a/openrecoveryscript.cpp
+++ b/openrecoveryscript.cpp
@@ -903,6 +903,7 @@ int OpenRecoveryScript::Restore_ADB_Backup(void) {
part_settings.partition_count = partition_count;
part_settings.adbbackup = true;
part_settings.adb_compression = twimghdr.compressed;
+ part_settings.Part->Set_Backup_FileName(part_settings.Part->Get_Backup_Name() + "." + part_settings.Part->Current_File_System + ".win");
part_settings.total_restore_size += part_settings.Part->Get_Restore_Size(&part_settings);
part_settings.PM_Method = PM_RESTORE;
ProgressTracking progress(part_settings.total_restore_size);