summaryrefslogtreecommitdiffstats
path: root/recovery_ui/include/recovery_ui/device.h
diff options
context:
space:
mode:
authorTao Bao <tbao@google.com>2019-03-29 23:43:09 +0100
committerTao Bao <tbao@google.com>2019-03-29 23:50:02 +0100
commitbc982a4f8845e5fa0cd2630ddcc3d8f70066b083 (patch)
treed95e3fdd35b47bb80c6b06bd65344c1eb2582afb /recovery_ui/include/recovery_ui/device.h
parentMerge "Move install to separate module" (diff)
downloadandroid_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar.gz
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar.bz2
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar.lz
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar.xz
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.tar.zst
android_bootable_recovery-bc982a4f8845e5fa0cd2630ddcc3d8f70066b083.zip
Diffstat (limited to 'recovery_ui/include/recovery_ui/device.h')
-rw-r--r--recovery_ui/include/recovery_ui/device.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/recovery_ui/include/recovery_ui/device.h b/recovery_ui/include/recovery_ui/device.h
index cfa914e77..3c44510c8 100644
--- a/recovery_ui/include/recovery_ui/device.h
+++ b/recovery_ui/include/recovery_ui/device.h
@@ -93,8 +93,8 @@ class Device {
// Performs a recovery action selected from the menu. 'menu_position' will be the index of the
// selected menu item, or a non-negative value returned from HandleMenuKey(). The menu will be
- // hidden when this is called; implementations can call ui_print() to print information to the
- // screen. If the menu position is one of the builtin actions, you can just return the
+ // hidden when this is called; implementations can call GetUI()->Print() to print information to
+ // the screen. If the menu position is one of the builtin actions, you can just return the
// corresponding enum value. If it is an action specific to your device, you actually perform it
// here and return NO_ACTION.
virtual BuiltinAction InvokeMenuItem(size_t menu_position);