14c321de31874aa705343f5d4e6c0174a4ec5a66
Before this CL, the resize frame showed a mismatched corner radius for widgets that have a non-default corner radius, when using the add button. This is because widgets added with the button may not have had `onLayout` called before the resize frame is set up. This change adds a layout listener to the widget view, so that the frame can set its corner radius once the view has been laid out. Bug: none Test: manual test Flag: ACONFIG com.android.launcher3.enable_widget_tap_to_add NEXTFOOD Change-Id: Ia9c37ae595be48e4ecab7930e17efca9a27ed05d
Languages
Java
55.6%
Kotlin
43.5%
JavaScript
0.3%
AIDL
0.2%
CSS
0.2%