am 507630e9: am b68c4fc4: Merge "Treat KEY_ENTER the same as KEY_POWER in the pager."

* commit '507630e99cecddca3c22425a76634c8461faf46e':
  Treat KEY_ENTER the same as KEY_POWER in the pager.
This commit is contained in:
Elliott Hughes 2015-04-13 20:52:09 +00:00 committed by Android Git Automerger
commit dd35c9898c

View file

@ -539,7 +539,7 @@ void ScreenRecoveryUI::ShowFile(FILE* fp) {
while (show_prompt) {
show_prompt = false;
int key = WaitKey();
if (key == KEY_POWER) {
if (key == KEY_POWER || key == KEY_ENTER) {
return;
} else if (key == KEY_UP || key == KEY_VOLUMEUP) {
if (offsets.size() <= 1) {