diff options
| author | 2023-10-19 16:39:17 -0700 | |
|---|---|---|
| committer | 2023-10-23 12:15:13 -0700 | |
| commit | 7144cbf7d3143feb9dcecc66c0a44d0a303d4974 (patch) | |
| tree | de9978ae052c84908a8c4520f6f67ad4909ebad8 /libs/androidfw/FileStream.cpp | |
| parent | ec4ed104006197e629442868346645d8e1e74e76 (diff) | |
isForegroundUserAdmin public API
Introduce an API by which callers can determine whether the foreground
user is an admin (even though the caller may not know who the foreground
user is). Foreground is synonymous with current.
Also adds an additional Flag for future communal development, where this
API is expected to be useful.
Test: atest android.multiuser.cts.UserManagerTest#testIsForegroundUserAdminUser_withAdditionalUser
Test: atest android.multiuser.cts.UserManagerTest#testIsForegroundUserAdminUser_admin
Change-Id: I2f2d74681b302a64991b11b32382558118ba798b
Diffstat (limited to 'libs/androidfw/FileStream.cpp')
0 files changed, 0 insertions, 0 deletions