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

Commit 45fd5aa5 authored by Lyn Han's avatar Lyn Han Committed by Automerger Merge Worker
Browse files

Merge "Fix HUN input alignment with IME" into sc-dev am: 62180de3 am: f21abb38

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15333059

Change-Id: I5a0c9ed575ea8eeb2d255c61df3e285f7e88e9db
parents 3942338e f21abb38
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -399,7 +399,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();