Skip to content
Commit 6c3d857f authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

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
parent 239f082d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment