From 452df2d5bb8fbc210909fff80536a223472d88c1 Mon Sep 17 00:00:00 2001 From: Pierre Barbier de Reuille Date: Fri, 19 Mar 2021 23:16:54 +0000 Subject: [PATCH] Update the resize frame to use the forced radius. When forcing the rounded corners, the radius may be smaller than the default one. When this happens, we should change how the frame is drawn to only use that reduced radius, or this looks weird. Bug: 183097166 Test: Manual tests with top 1P App Widgets Change-Id: I6ce232515ce14059e1168e16735719ea2370132c --- res/layout/app_widget_resize_frame.xml | 1 + src/com/android/launcher3/AppWidgetResizeFrame.java | 12 ++++++++++++ .../launcher3/widget/LauncherAppWidgetHostView.java | 1 + 3 files changed, 14 insertions(+) diff --git a/res/layout/app_widget_resize_frame.xml b/res/layout/app_widget_resize_frame.xml index 2e476df6c9..671dbc63c0 100644 --- a/res/layout/app_widget_resize_frame.xml +++ b/res/layout/app_widget_resize_frame.xml @@ -26,6 +26,7 @@