summaryrefslogtreecommitdiffstats
path: root/partitionmanager.cpp
diff options
context:
space:
mode:
authorMatt Mower <mowerm@gmail.com>2016-12-31 09:49:19 +0100
committerMatt Mower <mowerm@gmail.com>2017-01-18 20:04:35 +0100
commit173cdb9ad8b0345229afc673e8db09a7827c016a (patch)
tree95426e6a274af16c4b806c17e4e84fb1c26cb890 /partitionmanager.cpp
parentMove sh selection out of GUI makefile (diff)
downloadandroid_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar.gz
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar.bz2
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar.lz
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar.xz
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.tar.zst
android_bootable_recovery-173cdb9ad8b0345229afc673e8db09a7827c016a.zip
Diffstat (limited to 'partitionmanager.cpp')
-rw-r--r--partitionmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/partitionmanager.cpp b/partitionmanager.cpp
index a772ea440..f94b6aa22 100644
--- a/partitionmanager.cpp
+++ b/partitionmanager.cpp
@@ -872,6 +872,7 @@ int TWPartitionManager::Run_Backup(bool adbbackup) {
int prev_img_bps = 0, use_compression = 0;
unsigned long long prev_file_bps = 0;
+ DataManager::GetValue(TW_BACKUP_AVG_IMG_RATE, prev_img_bps);
img_bps += (prev_img_bps * 4);
img_bps /= 5;