Android: Prevent accessing BottomSheetController after destruction
With https://crrev.com/c/1898161, HistoryNavigationDelegate returns nulled-out BottomSheetController when the activity is already destroyed. All the public methods of NavigationSheetCoordinator should take it into account and early out in any calls to them when it is detected. Bug: 1022285 Change-Id: I605a136f73c4e33ac880142321c3205b12eff940 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1906846 Commit-Queue: Jinsuk Kim <jinsukkim@chromium.org> Reviewed-by:Matthew Jones <mdjones@chromium.org> Cr-Commit-Position: refs/heads/master@{#713911}
Showing
Please register or sign in to comment