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

Commit 5e394d9a authored by Tracy Zhou's avatar Tracy Zhou Committed by Android (Google) Code Review
Browse files

Merge "Place recents above app only after the initial touch down"

parents bcc2b5ff bc3ec9fb
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -724,6 +724,7 @@ public abstract class AbsSwipeUpHandler<T extends StatefulActivity<?>, Q extends
        setIsLikelyToStartNewTask(isLikelyToStartNewTask, false /* animate */);
        mStateCallback.setStateOnUiThread(STATE_GESTURE_STARTED);
        mGestureStarted = true;
        mTaskViewSimulator.setDrawsBelowRecents(true);
    }

    /**
+0 −1
Original line number Diff line number Diff line
@@ -82,7 +82,6 @@ public abstract class SwipeUpAnimationLogic {
        mTaskViewSimulator.getOrientationState().update(
                mDeviceState.getRotationTouchHelper().getCurrentActiveRotation(),
                mDeviceState.getRotationTouchHelper().getDisplayRotation());
        mTaskViewSimulator.setDrawsBelowRecents(true);

        mMaxShadowRadius = context.getResources().getDimensionPixelSize(R.dimen.max_shadow_radius);
        mTransformParams.setShadowRadius(mMaxShadowRadius);