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

Commit 4fbbb7c6 authored by Fabián Kozynski's avatar Fabián Kozynski
Browse files

Prevent tiles in bad state by interrupted collectLatest

If the collectLatest in CurrentTilesInteractor is restarted, the
individual tiles may end up in a bad state (destroyed but not removed)
or they may not have gotten the new user, but now we are not in a user
change scenario.

Instead, do the following:
* Change the user if the tile is in the wrong user
* Filter out destroyed tiles

Test: atest com.android.systemui.qs
Fixes: 394715298
Flag: EXEMPT bugfix
Change-Id: Iff6acb913519c786dc5e6d47c0c6ff4eab1f0d8a
parent d816d4bb
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment