summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2024-02-16 15:24:36 -0500
committer Fabian Kozynski <kozynski@google.com> 2024-02-22 17:34:50 +0000
commit09360568e7d2a4824573532f67d585f531dc8be9 (patch)
tree71b3e21166f2b684af241665c3828771aea0eba3 /libs/androidfw/StringPool.cpp
parentbb8591352629513ae2326ab744165be4a7970ad8 (diff)
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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions