mirror of
https://github.com/material-components/material-components-android.git
synced 2026-02-20 08:39:55 +08:00
This fixes BottomSheetBehavior implementation and remove uses of deprecated APIs. The APIs are mainly about nested scrolling related to inertia scrolling by nested fling. This CL does not change the behavior. The inertia scrolling by nested fling is not enabled. For that, we will have to change the way we use ViewDragHelper, and let nested fling handle the inertia scrolling. Bug: 70912761 Test: Existing tests (BottomSheetBehaviorTest, BottomSheetDialogTest) Change-Id: Iaea50056ed253131c7920f703136d30e73918756 PiperOrigin-RevId: 183276945