Merge "Correct QuickStep interaction handler." into sc-dev am: c3e6383690

Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Launcher3/+/14664199

Change-Id: I5bcf01d2423cc887642b57e65cca40210d060c78
This commit is contained in:
Pierre Barbier de Reuille
2021-05-20 20:15:38 +00:00
committed by Automerger Merge Worker

View File

@@ -51,7 +51,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler {
return RemoteViews.startPendingIntent(hostView, pendingIntent,
remoteResponse.getLaunchOptions(view));
}
Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(hostView);
Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(view);
ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager()
.getActivityLaunchOptions(mLauncher, hostView);
if (Utilities.ATLEAST_S && !pendingIntent.isActivity()) {