Loading quickstep/src/com/android/quickstep/TaskUtils.java +3 −5 Original line number Diff line number Diff line Loading @@ -18,8 +18,6 @@ package com.android.quickstep; import static com.android.launcher3.anim.Interpolators.LINEAR; import static com.android.launcher3.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR; import static com.android.systemui.shared.recents.utilities.Utilities.getNextFrameNumber; import static com.android.systemui.shared.recents.utilities.Utilities.getSurface; import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING; import android.animation.ValueAnimator; Loading @@ -30,7 +28,6 @@ import android.content.pm.PackageManager; import android.graphics.RectF; import android.os.UserHandle; import android.util.Log; import android.view.Surface; import android.view.View; import com.android.launcher3.BaseDraggingActivity; Loading Loading @@ -92,10 +89,11 @@ public class TaskUtils { */ public static TaskView findTaskViewToLaunch( BaseDraggingActivity activity, View v, RemoteAnimationTargetCompat[] targets) { RecentsView recentsView = activity.getOverviewPanel(); if (v instanceof TaskView) { return (TaskView) v; TaskView taskView = (TaskView) v; return recentsView.isTaskViewVisible(taskView) ? taskView : null; } RecentsView recentsView = activity.getOverviewPanel(); // It's possible that the launched view can still be resolved to a visible task view, check // the task id of the opening task and see if we can find a match. Loading Loading
quickstep/src/com/android/quickstep/TaskUtils.java +3 −5 Original line number Diff line number Diff line Loading @@ -18,8 +18,6 @@ package com.android.quickstep; import static com.android.launcher3.anim.Interpolators.LINEAR; import static com.android.launcher3.anim.Interpolators.TOUCH_RESPONSE_INTERPOLATOR; import static com.android.systemui.shared.recents.utilities.Utilities.getNextFrameNumber; import static com.android.systemui.shared.recents.utilities.Utilities.getSurface; import static com.android.systemui.shared.system.RemoteAnimationTargetCompat.MODE_OPENING; import android.animation.ValueAnimator; Loading @@ -30,7 +28,6 @@ import android.content.pm.PackageManager; import android.graphics.RectF; import android.os.UserHandle; import android.util.Log; import android.view.Surface; import android.view.View; import com.android.launcher3.BaseDraggingActivity; Loading Loading @@ -92,10 +89,11 @@ public class TaskUtils { */ public static TaskView findTaskViewToLaunch( BaseDraggingActivity activity, View v, RemoteAnimationTargetCompat[] targets) { RecentsView recentsView = activity.getOverviewPanel(); if (v instanceof TaskView) { return (TaskView) v; TaskView taskView = (TaskView) v; return recentsView.isTaskViewVisible(taskView) ? taskView : null; } RecentsView recentsView = activity.getOverviewPanel(); // It's possible that the launched view can still be resolved to a visible task view, check // the task id of the opening task and see if we can find a match. Loading