commit | 15045807b0761db5076cbf7a4d6715cd862cb13c | [log] [tgz] |
---|---|---|
author | Dohyun Lee <dohyun.lee@lge.com> | Fri Jun 28 16:29:52 2024 +0900 |
committer | bkchoi <bkchoi@google.com> | Thu Jul 25 22:31:35 2024 -0700 |
tree | d8bb3071327efea58f1d7f5a6030cbfb85a9d933 | |
parent | 6b9f4da5cbeda9bbfff7e05a10b3b68a0c8a810f [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