aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTianjie Xu2016-04-28 20:06:26 -0500
committerTianjie Xu2016-04-29 14:19:43 -0500
commit35926c4b89f9dc51f3e55ef03a61e4da6dcb34be (patch)
tree40b27d4d1fcd410295d64bc7a33002adb230ac6e /screen_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 'screen_ui.h')
-rw-r--r--screen_ui.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/screen_ui.h b/screen_ui.h
index d8ac85be..4319b76c 100644
--- a/screen_ui.h
+++ b/screen_ui.h
@@ -34,6 +34,7 @@ class ScreenRecoveryUI : public RecoveryUI {
34 34
35 // overall recovery state ("background image") 35 // overall recovery state ("background image")
36 void SetBackground(Icon icon); 36 void SetBackground(Icon icon);
37 void SetSystemUpdateText(bool security_update);
37 38
38 // progress indicator 39 // progress indicator
39 void SetProgressType(ProgressType type); 40 void SetProgressType(ProgressType type);