Render RemoteViews in LauncherAppWidgetHostView
Test: Pin a conversation widget from a notification. RemoteViews are
rendered with the default size. Drag-n-drop from the pin widget
dialog works fine.
Bug: 185934141
Change-Id: Idb76cce2807e55e7b42e2e044712519857beb202
This commit is contained in:
1 parent
8e64bba9cf
commit
e973d6f31f
4 files changed
+71
-85
No files matched your search
@@ -114,7 +114,7 @@ public abstract class BaseWidgetSheet extends AbstractSlideInView
|
||||
}
|
||||
|
||||
PendingItemDragHelper dragHelper = new PendingItemDragHelper(v);
|
||||
dragHelper.setRemoteViewsPreview(v.getPreview());
|
||||
dragHelper.setRemoteViewsPreview(v.getRemoteViewsPreview());
|
||||
dragHelper.setAppWidgetHostViewPreview(v.getAppWidgetHostViewPreview());
|
||||
|
||||
if (image.getDrawable() != null) {
|
||||
|
||||
Reference in new issue
Block a user