summaryrefslogtreecommitdiffstats
path: root/ui.h
diff options
context:
space:
mode:
authorSen Jiang <senj@google.com>2016-12-14 23:00:44 +0100
committerandroid-build-merger <android-build-merger@google.com>2016-12-14 23:00:44 +0100
commit2f8f6ec0fc2af4d4afd7d19837442222a1342156 (patch)
treeeb2f2cab3101dbdba307df52910ee9d0fb8bbdf4 /ui.h
parentMerge "updater: Fix the operator order." (diff)
parentMerge "Add a stub recovery UI." (diff)
downloadandroid_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar.gz
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar.bz2
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar.lz
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar.xz
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.tar.zst
android_bootable_recovery-2f8f6ec0fc2af4d4afd7d19837442222a1342156.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;