Skip to content
Commit 019d7292 authored by Michal Brzezinski's avatar Michal Brzezinski
Browse files

Fixing expansion state in NotificationPanelViewController

This also reverts ag/16835086, which was just a quick hack while this is a proper long-term solution.
The main change here is making sure mQsExpanded flag accurately represents the state in split shade. To do that, mQsExpandImmediately is reused and it makes sure that QS ends up in proper state once shade is expanded.
That cascaded to other changes/fixes, one of the major one being changing mQsExpanded in NotificationStackScrollLayout to mQsFullScreen - otherwise every use of mQsExpanded would have to be updated with checking if we’re in split shade mode. mQsFullScreen better represents change in notifications behaviour depending on the state.

Fixes: 218268829
Test: Expand split shade and check all tiles - especially on the second page - are working correctly
Change-Id: Id65c73c034fb8705eed8274416f125e4d861ac30
parent cdb9f0c8
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