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
Loading
Please register or sign in to comment