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

Skip to content
Commit 15045807 authored by Dohyun Lee's avatar Dohyun Lee Committed by bkchoi
Browse files

Refactor isVisibleBackgroundUser into UserManagerService



A visible background user is a full, background user assigned to
secondary displays on the devices that have
config_multiuserVisibleBackgroundUsers enabled. The logic for checking
visible background users was used repeatedly in a couple of classes,
so the logic was moved to UserManagerService to remove redundant codes.

Bug: 342315883
Flag: EXEMPT refactor
Test: m

Signed-off-by: default avatarDohyun Lee <dohyun.lee@lge.com>
(cherry picked from https://partner-android-review.googlesource.com/q/commit:7e2440877925659abbd21d8bc8f213fc4db58f45)

Change-Id: I527bb05f690c6a6c9c98fbd8753890030e8536a3
parent 6b9f4da5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment