Commit c9d41c89 authored by My Nguyen's avatar My Nguyen Committed by Commit Bot

Fix emoji suggestion browsing with up arrow

It wasn't working properly because I forgot to add handling of
SuggestionStatus::kBrowsing enum.

Bug: 1068855
Change-Id: I0e96f0ab4ab587a80d26d022c1a1e415ea1b6c0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2141479Reviewed-by: default avatarKeith Lee <keithlee@chromium.org>
Commit-Queue: My Nguyen <myy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#758675}
parent f099a8fa
...@@ -77,6 +77,8 @@ bool AssistiveSuggester::OnKeyEvent( ...@@ -77,6 +77,8 @@ bool AssistiveSuggester::OnKeyEvent(
case SuggestionStatus::kDismiss: case SuggestionStatus::kDismiss:
current_suggester_ = nullptr; current_suggester_ = nullptr;
return false; return false;
case SuggestionStatus::kBrowsing:
return true;
default: default:
break; break;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment