summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Fabián Kozynski <kozynski@google.com> 2024-02-13 12:14:57 -0500
committer Fabián Kozynski <kozynski@google.com> 2024-02-20 13:36:55 -0500
commitdb72b29d6075dbb0aed87d2d0c1b735c86008118 (patch)
tree749d620bb48dc3c3a05b0db2618ad031a12ee89c /libs/androidfw/ZipFileRO.cpp
parent1684475d241c50522aa5e837368c4e9e05a5e94c (diff)
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
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions