Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 876e1c60 authored by Jon Miranda's avatar Jon Miranda Committed by android-build-merger
Browse files

Merge "Use ActivityOptions.makeBasic for App Info animation." into ub-launcher3-qt-dev

am: 6492eaca

Change-Id: Ic6c060e2b6c67c2633e176ee681f8cb129a8b46f
parents aa241593 6492eaca
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3,6 +3,7 @@ package com.android.launcher3.popup;
import static com.android.launcher3.userevent.nano.LauncherLogProto.Action;
import static com.android.launcher3.userevent.nano.LauncherLogProto.ControlType;

import android.app.ActivityOptions;
import android.content.Context;
import android.content.Intent;
import android.graphics.Rect;
@@ -159,9 +160,8 @@ public abstract class SystemShortcut<T extends BaseDraggingActivity> extends Ite
            return (view) -> {
                dismissTaskMenuView(activity);
                Rect sourceBounds = activity.getViewBounds(view);
                Bundle opts = activity.getActivityLaunchOptionsAsBundle(view);
                new PackageManagerHelper(activity).startDetailsActivityForInfo(
                        itemInfo, sourceBounds, opts);
                        itemInfo, sourceBounds, ActivityOptions.makeBasic().toBundle());
                activity.getUserEventDispatcher().logActionOnControl(Action.Touch.TAP,
                        ControlType.APPINFO_TARGET, view);
            };