Initialize shape with PreviewContext init and remove nullability
Bug: 372887760 Bug: 348664593 Flag: com.android.launcher3.enable_launcher_icon_shapes Test: previewing shapes with flag on/off Change-Id: I4d7278c54a0d69e38142d31dd7a9605a74db3348
This commit is contained in:
@@ -377,7 +377,9 @@ public class GridCustomizationsProxy implements ProxyProvider {
|
||||
if (Flags.newCustomizationPickerUi()
|
||||
&& com.android.launcher3.Flags.enableLauncherIconShapes()) {
|
||||
String shapeKey = message.getData().getString(KEY_SHAPE_KEY);
|
||||
renderer.updateShape(shapeKey);
|
||||
if (!TextUtils.isEmpty(shapeKey)) {
|
||||
renderer.updateShape(shapeKey);
|
||||
}
|
||||
}
|
||||
break;
|
||||
case MESSAGE_ID_UPDATE_GRID:
|
||||
|
||||
Reference in New Issue
Block a user