Fixed at glance widget due to faulty merge (#3907)

This commit is contained in:
John Andrew Camu authored and GitHub committed 2023-12-22 11:33:24 +08:00
1 parent 0f91d97e82
commit b81d80f5b0
2 files changed
+5 -3

No files matched your search

@@ -256,7 +256,7 @@ public class WidgetCell extends LinearLayout {
// LauncherAppWidgetHostView,
// which supports applying local color extraction during drag & drop.
mAppWidgetHostViewPreview = isLauncherContext(context)
? new LauncherAppWidgetHostView(context)
? new LawnchairAppWidgetHostView(context)
: createAppWidgetHostView(context);
LauncherAppWidgetProviderInfo providerInfo = fromProviderInfo(context, item.widgetInfo.clone());
// A hack to force the initial layout to be the preview layout since there is no