diff options
author | Felipe Leme <felipeal@google.com> | 2021-02-19 12:52:26 -0800 |
---|---|---|
committer | Felipe Leme <felipeal@google.com> | 2021-02-26 08:46:09 -0800 |
commit | 161704e504c9e232bec5828f1e8c11f5a461b300 (patch) | |
tree | 99b5a0699272d458ebea3d7a56e07b25cf8e9ff2 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 059449849113b6aec53e5271ae86ffcbf01b1555 (diff) |
Fixed createAndManageUser() for headless system user mode.
It was refactored to split the "create" and "manage" parts so the
new user dialog is shown in the proper times, but such changed
broke the API when caller was passing initialExtras or a different
PO component.
To fix this issue, DPMS passes a token when the user is created,
and ignores the callback when the token matches.
This change also improved logging (which helped diagnose this issue).
Test: atest com.android.cts.devicepolicy.DeviceOwnerTest#testCreateAndManageUser_LowStorage,testCreateAndManageUser_MaxUsers,testCreateAndManageUser_GetSecondaryUsers,testCreateAndManageUser_SwitchUser,testCreateAndManageUser_CannotStopCurrentUser,testCreateAndManageUser_StartInBackground,testCreateAndManageUser_StartInBackground_MaxRunningUsers,testCreateAndManageUser_StopUser,testCreateAndManageUser_StopEphemeralUser_DisallowRemoveUser,testCreateAndManageUser_LogoutUser,testCreateAndManageUser_Affiliated,testCreateAndManageUser_Ephemeral,testCreateAndManageUser_LeaveAllSystemApps,testCreateAndManageUser_SkipSetupWizard,testCreateAndManageUser_AddRestrictionSet,testCreateAndManageUser_RemoveRestrictionSet,testUserAddedOrRemovedBroadcasts # on automotive and phone
Bug: 180515783
Change-Id: Ia6bddecd13fcdfc9604f40391ab7b2a5e98c146b
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions