aboutsummaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorTianjie Xu2016-04-28 20:06:26 -0500
committerTianjie Xu2016-04-29 14:19:43 -0500
commit35926c4b89f9dc51f3e55ef03a61e4da6dcb34be (patch)
tree40b27d4d1fcd410295d64bc7a33002adb230ac6e /ui.h
parent343eb722ddd0146e5c752419b3ff9537cfa2d31d (diff)
downloadplatform-bootable-recovery-35926c4b89f9dc51f3e55ef03a61e4da6dcb34be.tar.gz
platform-bootable-recovery-35926c4b89f9dc51f3e55ef03a61e4da6dcb34be.tar.xz
platform-bootable-recovery-35926c4b89f9dc51f3e55ef03a61e4da6dcb34be.zip
Add ability to show "installing security update"
Add a new command "--security" to boot commands. If this command is observed as part of BCB, choose a different background text picture for installing stage in recovery UI. As a result, users will see "installing security update" instead of "installing system update" when applying a security update package. Bug: 27837319 Change-Id: I2e2253a124993ecc24804fa1ee0b918ac96837c5
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui.h b/ui.h
index ca72911d..82d95a34 100644
--- a/ui.h
+++ b/ui.h
@@ -39,6 +39,7 @@ class RecoveryUI {
39 // Set the overall recovery state ("background image"). 39 // Set the overall recovery state ("background image").
40 enum Icon { NONE, INSTALLING_UPDATE, ERASING, NO_COMMAND, ERROR }; 40 enum Icon { NONE, INSTALLING_UPDATE, ERASING, NO_COMMAND, ERROR };
41 virtual void SetBackground(Icon icon) = 0; 41 virtual void SetBackground(Icon icon) = 0;
42 virtual void SetSystemUpdateText(bool security_update) = 0;
42 43
43 // --- progress indicator --- 44 // --- progress indicator ---
44 enum ProgressType { EMPTY, INDETERMINATE, DETERMINATE }; 45 enum ProgressType { EMPTY, INDETERMINATE, DETERMINATE };