Remove BottomSheet gatherTransparentRegion implementation
This patch removes the gatherTransparentRegion implementation from the BottomSheet in favor of attaching and detaching the sheet view from the hierarchy. Gathering the transparent region of a moving view is difficult since that method is only called on layout. By taking the view out of the hierarchy, the view is always "transparent" when it is not visible. Bug: 876097 Change-Id: I6073903d23b49b963bf2f4b570f6b51389430e42 Reviewed-on: https://chromium-review.googlesource.com/c/1252852 Commit-Queue: Matthew Jones <mdjones@chromium.org> Reviewed-by:Theresa <twellington@chromium.org> Cr-Commit-Position: refs/heads/master@{#596713}
Showing
Please register or sign in to comment