poppy: Disable arrow keys for language switch

Previously, could use arrow keys to change language
in fw screen.  Disabling this in detachable menu
because will be using menu to switch languages.

BUG=b:35585623
BRANCH=None
TEST=reboot and try to use right/left arrows.  Make
     sure they don't do anything.

Change-Id: Ic720ea4ec9e6b7ae1676fdf60d27e2c74e48f736
Signed-off-by: Shelley Chen <shchen@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/444945
Reviewed-by: Randall Spangler <rspangler@chromium.org>
This commit is contained in:
Shelley Chen
2017-02-15 14:18:37 -08:00
committed by chrome-bot
parent 05f0058479
commit 48a67d3ca7

View File

@@ -147,7 +147,6 @@ int VbUserConfirmsMenu(struct vb2_context *ctx, VbCommonParams *cparams,
return 1; return 1;
} }
} }
VbCheckDisplayKey(ctx, cparams, key);
} }
VbExSleepMs(CONFIRM_KEY_DELAY); VbExSleepMs(CONFIRM_KEY_DELAY);
} }
@@ -836,7 +835,6 @@ VbError_t vb2_developer_menu(struct vb2_context *ctx, VbCommonParams *cparams)
break; break;
default: default:
VB2_DEBUG("pressed key %d\n", key); VB2_DEBUG("pressed key %d\n", key);
VbCheckDisplayKey(ctx, cparams, key);
break; break;
} }
} while(VbAudioLooping(audio)); } while(VbAudioLooping(audio));