summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorLyn Han <lynhan@google.com>2022-02-08 12:36:02 -0600
committerLyn Han <lynhan@google.com>2022-02-09 17:30:38 +0000
commitd2adae5b5d8a1b6a77386cc7eaf98dafe4b43ce4 (patch)
treeda8258dde23884149b4832b5eb8577dc973fad73 /core/java/android/inputmethodservice/InputMethodService.java
parent7315b7278c0663fe53ecaab3f423e0a411197498 (diff)
Fix bug where shade is infinitely squishy after wallpaper change
This change fixes a bug where opening an empty shade after wallpaper update => messes up qs button unfurling => hides the "no notifications" text This bug happened because => wallpaper change causes theme change => on theme change, NSSLC reinflates EmptyShadeView with visibility=false => nothing resets EmptyShadeView visiblity=true on shade open => AmbientState has 0 visibleChildren during shade open, so stackHeight is 0 and expansionFraction is infinity The solution is to have NSSLC update EmptyShadeView visibility after re-inflation. Fixes: 215038354 Fixes: 218501868 Fixes: 218380326 Test: have no notifications, change wallpaper, open shade => qs button squishiness animates fine => "no notifications" text shows up fine => log squishiness: no infinity or NaN Change-Id: Iaa10605079db7edc79771a1cd9f4cc17f847c4cb
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions