Separate scrim/sheet custom lifecycles in onSheetClosed
This patch fixes a subtle bug in the BottomSheetController where a custom scrim lifecycle inadvertently blocked high priority content from suppressing low priority content. The block of code no longer returns early, each scrim and sheet check are now gated on BottomSheetContent's #hasCustomScrimLifecycle and #hasCustomLifecycle respectively. Bug: 986310 Change-Id: I506874b0f8d63e5d00177b409a71b92a51cfb454 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1779103 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#751450}
Showing
Please register or sign in to comment