aboutsummaryrefslogtreecommitdiffstats
path: root/common.h
diff options
context:
space:
mode:
authorDoug Zongker <dougz@android.com>2009-09-20 14:10:27 -0700
committerDoug Zongker <dougz@android.com>2009-09-20 14:10:27 -0700
commitfd8fb0c49242af5147708f1a93ea3acba546555b (patch)
tree6335e3fc41a5f5a3c4d251800033098d94bda0c8 /common.h
parent60babf8ba766662cc0932e8271b67daa69cddd5f (diff)
downloadbootable_recovery-fd8fb0c49242af5147708f1a93ea3acba546555b.zip
bootable_recovery-fd8fb0c49242af5147708f1a93ea3acba546555b.tar.gz
bootable_recovery-fd8fb0c49242af5147708f1a93ea3acba546555b.tar.bz2
reduce fraction of progress bar for verification
Reduce the fraction of the progress bar used for package verification from 50% to 25%: - verification is faster than before due to sha1 improvements - in eclair we're now verifying the compressed data rather than decompressing it - incremental packages (which is what most installs use) write more data than is contained in the package.
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index 6761159..d962a0a 100644
--- a/common.h
+++ b/common.h
@@ -68,7 +68,7 @@ void ui_set_progress(float fraction); // 0.0 - 1.0 within the defined scope
// Default allocation of progress bar segments to operations
static const int VERIFICATION_PROGRESS_TIME = 60;
-static const float VERIFICATION_PROGRESS_FRACTION = 0.5;
+static const float VERIFICATION_PROGRESS_FRACTION = 0.25;
static const float DEFAULT_FILES_PROGRESS_FRACTION = 0.4;
static const float DEFAULT_IMAGE_PROGRESS_FRACTION = 0.1;