summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-12-14 23:21:48 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-12-14 23:21:48 +0100
commitb29f25888a9033a0cc3b151a929b1b29fa727f75 (patch)
tree6066d58e37b89d85081c1f32ca5b406437b159fa /ui.h
parentMerge "updater: Fix the operator order." am: 2bb3a2270e am: f7f3f821a8 (diff)
parentMerge "Add a stub recovery UI." am: 8c1584feaf (diff)
downloadandroid_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar.gz
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar.bz2
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar.lz
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar.xz
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.tar.zst
android_bootable_recovery-b29f25888a9033a0cc3b151a929b1b29fa727f75.zip
Diffstat (limited to 'ui.h')
-rw-r--r--ui.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui.h b/ui.h
index 82d95a346..be95a4e23 100644
--- a/ui.h
+++ b/ui.h
@@ -28,8 +28,8 @@ class RecoveryUI {
virtual ~RecoveryUI() { }
- // Initialize the object; called before anything else.
- virtual void Init();
+ // Initialize the object; called before anything else. Returns true on success.
+ virtual bool Init();
// Show a stage indicator. Call immediately after Init().
virtual void SetStage(int current, int max) = 0;