Merge "Fix HUN input alignment with IME" into sc-dev am: 62180de361 am: b6c38f570f
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15333059 Change-Id: I028f21a0b6d0e6b0f6742efcf8875a60aced3abd
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user