Loading quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java +3 −2 Original line number Diff line number Diff line Loading @@ -19,13 +19,13 @@ import android.app.ActivityOptions; import android.app.ActivityTaskManager; import android.app.PendingIntent; import android.content.Intent; import android.os.Build; import android.os.RemoteException; import android.util.Log; import android.util.Pair; import android.view.View; import android.widget.RemoteViews; import com.android.launcher3.Utilities; import com.android.launcher3.model.data.ItemInfo; import com.android.launcher3.util.ActivityOptionsWrapper; import com.android.launcher3.widget.LauncherAppWidgetHostView; Loading @@ -41,6 +41,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler { mLauncher = launcher; } @SuppressWarnings("NewApi") @Override public boolean onInteraction(View view, PendingIntent pendingIntent, RemoteViews.RemoteResponse remoteResponse) { Loading @@ -53,7 +54,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler { Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(hostView); ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager() .getActivityLaunchOptions(mLauncher, hostView); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && !pendingIntent.isActivity()) { if (Utilities.ATLEAST_S && !pendingIntent.isActivity()) { // In the event this pending intent eventually launches an activity, i.e. a trampoline, // use the Quickstep transition animation. try { Loading Loading
quickstep/src/com/android/launcher3/uioverrides/QuickstepInteractionHandler.java +3 −2 Original line number Diff line number Diff line Loading @@ -19,13 +19,13 @@ import android.app.ActivityOptions; import android.app.ActivityTaskManager; import android.app.PendingIntent; import android.content.Intent; import android.os.Build; import android.os.RemoteException; import android.util.Log; import android.util.Pair; import android.view.View; import android.widget.RemoteViews; import com.android.launcher3.Utilities; import com.android.launcher3.model.data.ItemInfo; import com.android.launcher3.util.ActivityOptionsWrapper; import com.android.launcher3.widget.LauncherAppWidgetHostView; Loading @@ -41,6 +41,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler { mLauncher = launcher; } @SuppressWarnings("NewApi") @Override public boolean onInteraction(View view, PendingIntent pendingIntent, RemoteViews.RemoteResponse remoteResponse) { Loading @@ -53,7 +54,7 @@ class QuickstepInteractionHandler implements RemoteViews.InteractionHandler { Pair<Intent, ActivityOptions> options = remoteResponse.getLaunchOptions(hostView); ActivityOptionsWrapper activityOptions = mLauncher.getAppTransitionManager() .getActivityLaunchOptions(mLauncher, hostView); if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S && !pendingIntent.isActivity()) { if (Utilities.ATLEAST_S && !pendingIntent.isActivity()) { // In the event this pending intent eventually launches an activity, i.e. a trampoline, // use the Quickstep transition animation. try { Loading