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

Commit 3e42379d authored by Matt Sziklay's avatar Matt Sziklay Committed by Android (Google) Code Review
Browse files

Merge "Do not create indicator before startDragToDesktop." into main

parents 40ad015e 75096e2c
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -866,6 +866,12 @@ public class DesktopModeWindowDecorViewModel implements WindowDecorViewModel {
                    return;
                }
                if (mTransitionDragActive) {
                    // Do not create an indicator at all if we're not past transition height.
                    if (ev.getRawY() < mContext.getResources().getDimensionPixelSize(com.android
                            .wm.shell.R.dimen.desktop_mode_fullscreen_from_desktop_height)
                            && mMoveToDesktopAnimator == null) {
                        return;
                    }
                    final DesktopModeVisualIndicator.IndicatorType indicatorType =
                            mDesktopTasksController.updateVisualIndicator(
                                    relevantDecor.mTaskInfo,