summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLyn <lynhan@google.com>2022-01-31 14:24:24 -0600
committerLyn Han <lynhan@google.com>2022-02-03 21:35:43 -0600
commitb5fe1d02cbfe9fbe1d2a1158006868e1290f4f4d (patch)
treefa741d5d458191fed6fccd8a71930c4061850f81 /core/java/android/inputmethodservice/InputMethodService.java
parent7315b7278c0663fe53ecaab3f423e0a411197498 (diff)
Remove scroll-up effect from lockscreen swipe-up and unlock hint
by skipping notif stack height updates. What caused the bug: During swipe-up and unlock hint PVC reduces stack height; since shadeBottom remains the same, expansionFraction decreases, and so do notification heights. Now that notifs are shorter, there's more room, so a new notification starts to peek in above the shelf, resulting in a scroll-up effect. Note that we disable height updates for the above cases instead of only allowing lockscreen notif stack height changes for unfurl/to-shade/etc animations, since the latter approach can miss edge cases that require stack height updates, resulting in regressions Fixes: 217232659 Test: swipe up on lockscreen => notif stack moves up, no height change Test: tap lockscreen (not on any notif) => ls bounces up and down, no height change for notif stack Test: swipe away all notifs on lockscreen, no regressions Test: open shade from top, use shade normally, no regressions Change-Id: I80099b5892880f51aa0a90cbeeb2e1d981f52bc3
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions