Android: Fix IllegaStateException from gesture navigation
The reported exception comes from HistoryNavigationDelgateFactory trying to get BottomSheetController when the activity is already destroyed. This CL puts a guard against the access to the activity in a wrong state. Bug: 990987 Change-Id: I86e9ea0611dafd301eefcb07a3a6b1ade5792a2a Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1898161Reviewed-by:Matthew Jones <mdjones@chromium.org> Reviewed-by:
Jinsuk Kim <jinsukkim@chromium.org> Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Cr-Commit-Position: refs/heads/master@{#712765}
Showing
Please register or sign in to comment