[TTS] Fix some bugs in longpress activation.
Adds another option to the Longpress Activation Chrome Flag to preserve Tap activation. Without it, the Tap gesture will no longer trigger Contextual Search. Also fix some minor bugs: 1) preserve the longpress selection even after the panel is closed. 2) fix a crash with Tap after a longpress selection triggered. 3) tap with existing longpress selection should not select. BUG=956277, 959040 Change-Id: I3c351a0227b55c996b645cb76e08976ce36a61e6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1764187Reviewed-by:Jinsuk Kim <jinsukkim@chromium.org> Commit-Queue: Donn Denman <donnd@chromium.org> Cr-Commit-Position: refs/heads/master@{#689994}
Showing
Please register or sign in to comment