summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShelley Chen <shchen@chromium.org>2017-02-15 14:18:37 -0800
committerchrome-bot <chrome-bot@chromium.org>2017-03-02 09:33:57 -0800
commit48a67d3ca74843be77c88f65c9efe0af904b0e70 (patch)
treec757dd917ddbe63a187cbea29fc623d98acff8d4
parent05f00584796fc5aca01f4a4587158d60bded9d49 (diff)
downloadvboot-48a67d3ca74843be77c88f65c9efe0af904b0e70.tar.gz
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>
-rw-r--r--firmware/lib/vboot_ui_menu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/firmware/lib/vboot_ui_menu.c b/firmware/lib/vboot_ui_menu.c
index ef428610..ee81c29d 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));