summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-12-10 01:20:49 +0100
committerSen Jiang <senj@google.com>2016-12-13 22:29:33 +0100
commitd530449e54bd327e9c26209ffa0490c6508afe6c (patch)
tree0b1d25af5cad4e0e4b1035b5dad3a86c06835e0a /ui.h
parentMerge "clang-format: Adjust short functions / if settings." (diff)
downloadandroid_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar.gz
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar.bz2
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar.lz
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar.xz
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.tar.zst
android_bootable_recovery-d530449e54bd327e9c26209ffa0490c6508afe6c.zip
Diffstat (limited to '')
-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;