summaryrefslogtreecommitdiff
path: root/api/api_test.go
diff options
context:
space:
mode:
author Dohyun Lee <dohyun.lee@lge.com> 2024-06-28 16:29:52 +0900
committer bkchoi <bkchoi@google.com> 2024-07-25 22:31:35 -0700
commit15045807b0761db5076cbf7a4d6715cd862cb13c (patch)
treed8bb3071327efea58f1d7f5a6030cbfb85a9d933 /api/api_test.go
parent6b9f4da5cbeda9bbfff7e05a10b3b68a0c8a810f (diff)
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: Dohyun Lee <dohyun.lee@lge.com> (cherry picked from https://partner-android-review.googlesource.com/q/commit:7e2440877925659abbd21d8bc8f213fc4db58f45) Change-Id: I527bb05f690c6a6c9c98fbd8753890030e8536a3
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions