Felipe Leme 601d3e82ab Fixes some DPM APIs to use the context user.
This APIs are primarily used by CarService, which always runs as
system user, so they cannot rely on the calling user id.

Test: atest CtsDevicePolicyManagerTestCases com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_newUserDisclaimer # on automotive and phone

Test: manual verification

Change-Id: I56bb8cd12be766ef9da6c71a524912f7f8680aad
2022-02-09 20:41:19 +00:00
2022-02-08 17:21:15 +00:00
…
…
2022-01-28 01:33:30 +00:00
…
…
…
2022-01-28 03:30:17 +00:00
2022-02-04 00:02:55 -08:00
…
…
2022-01-25 15:29:55 -08:00
…
2022-01-05 13:13:50 +00:00
…
…
…
Description
No description provided
21 GiB
Languages
Java 73.7%
Kotlin 14%
PowerBuilder 5.8%
C++ 5.2%
AIDL 1%