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

Commit 9d52049c authored by Adam Bookatz's avatar Adam Bookatz
Browse files

Auto-stopping users exempt bg visible users

When automatically stopping a user, due to it being scheduled for
stopping or because we have exceeded maxRunningUsers, we already make
sure to exclude alwaysVisible users (such as the communal profile). But
we should actually also exclude users that are visible on background
displays. In short, we should exclude any user that is
UM.isUserVisible(). So we do so.

Bug: 423011998
Flag: EXEMPT bugfix
Test: UserControllerTest
Change-Id: I2c9754b876d4b8c0c5384e608884b469aa3e26fb
parent 8d6d7322
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