From 1c52d1ee12a0f0d7d74a6374149c399f476ed34e Mon Sep 17 00:00:00 2001 From: Pierre Barbier de Reuille Date: Thu, 20 May 2021 14:48:00 +0100 Subject: [PATCH] Correct QuickStep interaction handler. With the current implementation, all interactions happen on the main view, preventing any button or clickable object from working. Fix: 188775840 Test: Using an App Widget with checkboxes Change-Id: I1ec6391a36b6a3795545acb5e08dde0d3a2b2ac8 --- .../launcher3/uioverrides/QuickstepInteractionHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java b/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java index 3a8de3cace..1304033d08 100644 --- a/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java +++ b/quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java @@ -51,7 +51,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler { return RemoteViews.startPendingIntent(hostView, pendingIntent, remoteResponse.getLaunchOptions(view)); } - Pair options = remoteResponse.getLaunchOptions(hostView); + Pair options = remoteResponse.getLaunchOptions(view); ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager() .getActivityLaunchOptions(mLauncher, hostView); if (Utilities.ATLEAST_S && !pendingIntent.isActivity()) {