Skip to content

Commit

Permalink
Treat VKEY_ASSISTANT as system key
Browse files Browse the repository at this point in the history
BUG=b/65175944
TEST=locally build and flash, cannot repro the second key tap missing

Change-Id: Ic124a1f9849f5030baef2823908e2bef0d2cf011
Reviewed-on: https://chromium-review.googlesource.com/673268
Reviewed-by: Dan Erat <derat@chromium.org>
Commit-Queue: Xiaohui Chen <xiaohuic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#502969}
  • Loading branch information
Xiaohui Chen authored and Commit Bot committed Sep 19, 2017
1 parent 792578c commit a4b7dcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ash/accelerators/accelerator_router.cc
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ namespace {
// Returns true if |key_code| is a key usually handled directly by the shell.
bool IsSystemKey(ui::KeyboardCode key_code) {
switch (key_code) {
case ui::VKEY_ASSISTANT:
case ui::VKEY_MEDIA_LAUNCH_APP2: // Fullscreen button.
case ui::VKEY_MEDIA_LAUNCH_APP1: // Overview button.
case ui::VKEY_BRIGHTNESS_DOWN:
Expand Down

0 comments on commit a4b7dcc

Please sign in to comment.