From 57347bd6b76525496c7e1c37d8112a9515fc7673 Mon Sep 17 00:00:00 2001 From: Steven Ng Date: Thu, 6 May 2021 17:39:49 +0100 Subject: [PATCH] Only show collapse handle when the bottom widgets picker is scrollable Test: Go to contact bottom widgets picker. No collapse handle is shown because the content isn't scrollable. Go to Google calendar bottom widget picker. Collapse handle is hown because the content is scrollable. Bug: 185134663 Change-Id: Ic6109c055a072aa1cf3521f829833fd5f4cece0f --- res/layout/widgets_bottom_sheet_content.xml | 2 ++ src/com/android/launcher3/widget/WidgetsBottomSheet.java | 1 + 2 files changed, 3 insertions(+) diff --git a/res/layout/widgets_bottom_sheet_content.xml b/res/layout/widgets_bottom_sheet_content.xml index a9d523ae57..85c64888ea 100644 --- a/res/layout/widgets_bottom_sheet_content.xml +++ b/res/layout/widgets_bottom_sheet_content.xml @@ -15,10 +15,12 @@ -->