+156
−0
+95
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When calling `CustomTileInteractor.resetTiles`, any custom tiles that are removed should be marked as removed in the repository (and onTileRemoved` should be sent to the tile). This was missing, and was causing the tiles not get `onTileAdded` when they were added again. This change fixes that. Additionally, we add an upgrade step for CustomTileAddedRepository to mark tiles that at the time of the upgrade are not present as removed. Test: atest com.android.systemui.qs.pipeline Test: manual, reset tiles Test: manual, observe upgrade state Flag: com.android.systemui.reset_tiles_removes_custom_tiles Fixes: 431235255 Change-Id: If8186dc00f4ec2718e48d43ea71f800a860a06d1