diff options
author | Tao Bao <tbao@google.com> | 2018-05-08 19:32:36 +0200 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-05-08 19:32:36 +0200 |
commit | d8abd2bd7011fc845d9a3a6c6cdec809ce25961c (patch) | |
tree | 9e2d709525aff9250bc0d1c699b4c877722959ba /device.h | |
parent | Merge "recovery: Refactor logging code into logging.cpp" (diff) | |
parent | recovery: Get UI and locale from device. (diff) | |
download | android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.gz android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.bz2 android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.lz android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.xz android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.tar.zst android_bootable_recovery-d8abd2bd7011fc845d9a3a6c6cdec809ce25961c.zip |
Diffstat (limited to 'device.h')
-rw-r--r-- | device.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -58,6 +58,12 @@ class Device { return ui_; } + // Sets the UI object to the given UI. Used to override the default UI in case initialization + // failed, or we want a stub for some reason. + virtual void SetUI(RecoveryUI* ui) { + ui_ = ui; + } + // Called when recovery starts up (after the UI has been obtained and initialized and after the // arguments have been parsed, but before anything else). virtual void StartRecovery() {}; |