Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit db72b29d authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Prevent no tiles in QS

In some cases, normal operation can lead to no tiles in QS (for example,
when restoring from a non-AOSP device that uses different specs for
tiles). Unfortunately, as the tiles use unknown names, we are not able
to restore the correct tiles.

If after processing the tiles in CurrentTilesInteractor, we end
up with no tiles, we revert to the default.

Note that this should only happen when things directly try to set the
list of tiles. A user manually adding/removing tiles will never
encounter this scenario,

Test: atest NoEmptyTilesTest
Test: manual, set tiles to unknown names
Fixes: 324575996
Flag: ACONFIG com.android.systemui.qs_new_pipeline NEXTFOOD

Change-Id: Ie16a2fc9a57680c1860953e6b82b265e269047a1
parent 1684475d
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