summaryrefslogtreecommitdiff
path: root/core/java/android/inputmethodservice/InputMethodService.java
diff options
context:
space:
mode:
authorMichal Brzezinski <brzezinski@google.com>2022-05-09 15:41:19 +0100
committerMichal Brzezinski <brzezinski@google.com>2022-05-09 15:57:07 +0100
commit6c3d857fab687b9945adfd1250ed7b8beff05cdc (patch)
treee3b7089dfb826f86b20152db8dcfd8e76dae0e35 /core/java/android/inputmethodservice/InputMethodService.java
parent239f082d758252b5bbf1e908f4d28b1b9d1141e7 (diff)
Fixing notifications not visible in split shade after rotations
When rotating from split shade to portrait and back, some calculations of notifications height, padding etc were broken because they are only refreshed when qsExpansion is 0 (QS is collapsed). When QS was expanded in portrait and rotated back to split shade, QS expansion state was never refreshed in NSSL (so still 1) and that means some calculations never happened. In NSSL we still want to pretend QS are collapsed so notifcations are fully functioning but we want to make sure this information is refreshed when changing state to split shade. This fix might not be required anymore after changing behaviour of shade rotation - from split shade going to collapsed QS in portrait - but still seems like serious bug waiting to happen in some other cases we don't yet know about. Fixes: 230481309 Test: open shade in split shade -> rotate to portrait (QS should be expanded) -> rotate back to split shade -> notifications should be visible Change-Id: I1926e988d77a5ca6732567ae29ec4f17b32c324c
Diffstat (limited to 'core/java/android/inputmethodservice/InputMethodService.java')
0 files changed, 0 insertions, 0 deletions