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

Commit d2130267 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Fix regression when setting initial offset when docked." into nyc-dev

parents ef33726e 809a5b12
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -514,7 +514,10 @@ public class TaskStackLayoutAlgorithm {
                    (mHeaderBarHeight * 1f) + 1;
            float initialFocusedOffsetPct = initialFocusedOffset / mStackRect.height();
            float initialFocusedNormX = mUnfocusedCurveInterpolator.getX(initialFocusedOffsetPct);
            float initialBottomOffset = mStackBottomOffset + mInitialBottomPeekHeight;
            float initialBottomOffset = mStackBottomOffset +
                    (ssp.hasDockedTask()
                        ? mHeaderBarHeight
                        : mInitialBottomPeekHeight);
            float initialBottomOffsetPct = initialBottomOffset / mStackRect.height();
            float initialBottomNormX = mUnfocusedCurveInterpolator.getX(initialBottomOffsetPct);
            /*