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

Skip to content
Commit 09360568 authored by Fabián Kozynski's avatar Fabián Kozynski Committed by Fabian Kozynski
Browse files

Restore QS data even with just one intent

In the case where we are restoring from a device that didn't have a
`qs_auto_tiles` setting, we can still restore the user tiles and assume
that the setting was empty. We listen for user setup complete that
indicates that settings provider has finished restoring.

Restoring just from qs_auto_tiles makes no sense, as the user cares
about the current tiles. In that case, if we only got that intent, we
log an error and ignore it.

Test: atest QSSettingsRestoredBroadcastRepositoryTest
Test: manual, restore from a device with deleted qs_auto_tiles
Fixes: 325253849
Flag: ACONFIG com.android.systemui.qs_new_pipeline NEXTFOOD
Change-Id: I2a9709301a0474d7d6529667638c5c63dfe3c8ef
parent bb859135
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