diff options
author | Tao Bao <tbao@google.com> | 2018-05-08 19:46:01 +0200 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-05-08 19:46:01 +0200 |
commit | e5caa4095b8d250af3d11c6d910a4948f3d0e93c (patch) | |
tree | 7001c4d85fc343b3c4f8c1c2b8419487025e3058 /device.h | |
parent | [automerger skipped] Merge "recovery: Refactor logging code into logging.cpp" am: 5285c27bf4 (diff) | |
parent | Merge "recovery: Get UI and locale from device." (diff) | |
download | android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.gz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.bz2 android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.lz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.xz android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.tar.zst android_bootable_recovery-e5caa4095b8d250af3d11c6d910a4948f3d0e93c.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() {}; |