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

Commit 62180de3 authored by Lyn Han's avatar Lyn Han Committed by Android (Google) Code Review
Browse files

Merge "Fix HUN input alignment with IME" into sc-dev

parents ef8407ab 2e8074a5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -394,7 +394,8 @@ public class StackScrollAlgorithm {
                    ambientState.getExpansionFraction(), true /* notification */);
        }

        if (view.mustStayOnScreen() && viewState.yTranslation >= 0) {
        if (ambientState.isShadeExpanded() && view.mustStayOnScreen()
                && viewState.yTranslation >= 0) {
            // Even if we're not scrolled away we're in view and we're also not in the
            // shelf. We can relax the constraints and let us scroll off the top!
            float end = viewState.yTranslation + viewState.height + ambientState.getStackY();