diff options
| author | 2022-07-21 14:48:22 -0700 | |
|---|---|---|
| committer | 2022-08-09 02:42:37 +0000 | |
| commit | 36e74d4db8300935d535c77aa760cbc76a6b4437 (patch) | |
| tree | 5ff0f7b9f8bef959195e33bed75485d41c84f0ef /libs/androidfw/StringPool.cpp | |
| parent | ef6654ea7cb368082daa825ba0e29cb357586377 (diff) | |
Initial implementation of UserManager.isUserVisible().
This API will be used to determine if the user is interacting with
the device and hence is able to do stuff like launching activities.
This initial version only returns true for the current foreground
user, but it will be expanded to also return true for:
- Background users associated with secondary displays
- (Running) profile of other visible users
Test: atest CtsMultiUserTestCases:android.multiuser.cts.UserManagerTest#testIsUserVisible_currentUser
Test: manual verification with Automotive's KitchenSink
Test: m update-api
Bug: 239824814
Change-Id: Ie8da07f69898d2b376bcf60d1da4221aed03ee3b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions