platform_bootable_recovery/recovery_ui
Tianjie Xu 09a8f76ac2 Implement ShowMenu for StubRecoveryUI
The ShowMenu in StubRecoveryUI used to return initial selection
immediately. This leads to an immediate reboot if we enter recovery
with a stub UI and wait for user's input. This cl changes the behavior
of stub UI's ShowMenu so that it waits keys in loop, and only returns in
the case of interruption or time out.

Bug: 130535924
Test: start recovery with a stub UI, wait for the timeout
Change-Id: I96ad8aad8930756b09101bb98ba5fbe7b53bcb37
2019-06-27 15:54:59 -07:00
..
include/recovery_ui Implement ShowMenu for StubRecoveryUI 2019-06-27 15:54:59 -07:00
Android.bp Implement ShowMenu for StubRecoveryUI 2019-06-27 15:54:59 -07:00
default_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
device.cpp Allow entering rescue mode via recovery UI. 2019-04-17 14:07:23 -07:00
screen_ui.cpp Fall back to en-US if localized bitmap is missing for a locale 2019-04-22 14:39:51 -07:00
stub_ui.cpp Implement ShowMenu for StubRecoveryUI 2019-06-27 15:54:59 -07:00
ui.cpp Merge "Avoid key_queue_mutex deadlock in waitkey()" 2019-06-13 00:01:49 +00:00
vr_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
vr_ui.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
wear_device.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00
wear_ui.cpp Move librecovery_ui to a sub-directory 2019-03-21 10:46:11 -07:00