From 48a67d3ca74843be77c88f65c9efe0af904b0e70 Mon Sep 17 00:00:00 2001 From: Shelley Chen Date: Wed, 15 Feb 2017 14:18:37 -0800 Subject: [PATCH] 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 Reviewed-on: https://chromium-review.googlesource.com/444945 Reviewed-by: Randall Spangler --- firmware/lib/vboot_ui_menu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c index ef4286105e..ee81c29da1 100644 --- a/firmware/lib/vboot_ui_menu.c +++ b/firmware/lib/vboot_ui_menu.c @@ -147,7 +147,6 @@ int VbUserConfirmsMenu(struct vb2_context *ctx, VbCommonParams *cparams, return 1; } } - VbCheckDisplayKey(ctx, cparams, key); } VbExSleepMs(CONFIRM_KEY_DELAY); } @@ -836,7 +835,6 @@ VbError_t vb2_developer_menu(struct vb2_context *ctx, VbCommonParams *cparams) break; default: VB2_DEBUG("pressed key %d\n", key); - VbCheckDisplayKey(ctx, cparams, key); break; } } while(VbAudioLooping(audio));