forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Android][Mfill] Prevent crash from double-tapping back button
Clicking the back arrow on fallback sheets resets the active tab to null and closes the sheet which rerequests the keyboard. Technically, this could happen twice (maybe with a slow device if users are moving quickly or use a11y tools). The second click/tap would then cause chrome to crash when operating on a null pointer. This CL ignores the second click as a speculative fix for the linked, exceedingly rare crash. Bug: 1406863 Change-Id: I8e015c99e71642b5bdd9b96b5e4e84d26ef5a14e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4161666 Commit-Queue: Friedrich Horschig <fhorschig@chromium.org> Reviewed-by: Ioana Pandele <ioanap@chromium.org> Cr-Commit-Position: refs/heads/main@{#1091945}
- Loading branch information
Showing
2 changed files
with
25 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters