Fix crash for apps launched through non-BubbleTextView views.

* Same transition/animation, except we don't create a visual copy of the View.

Bug: 72314029
Bug: 70220260
Change-Id: I79898be1cae7160b5dc35cc1ea8ba3dc5b2db05c
This commit is contained in:
Jon Miranda committed 2018-01-22 13:55:58 -08:00
1 parent 2c896767e2
commit 6586b54ded
2 files changed
+19 -10

No files matched your search

@@ -82,7 +82,7 @@ public abstract class SystemShortcut extends ItemInfo {
@Override
public void onClick(View view) {
Rect sourceBounds = launcher.getViewBounds(view);
Bundle opts = launcher.getActivityLaunchOptions(view, true);
Bundle opts = launcher.getActivityLaunchOptions(view, false);
InfoDropTarget.startDetailsActivityForInfo(itemInfo, launcher, sourceBounds, opts);
launcher.getUserEventDispatcher().logActionOnControl(Action.Touch.TAP,
ControlType.APPINFO_TARGET, view);