diff options
| author | 2022-05-17 18:42:11 +0100 | |
|---|---|---|
| committer | 2022-05-18 14:52:41 +0100 | |
| commit | 6bd5c32a3e2a7e02f7e23f26b2db026efcf62550 (patch) | |
| tree | 02c3cac6491710481f90ad6696436fc30fc7993c /libs/androidfw/StringPool.cpp | |
| parent | 66642324cb08bf5bce347ee75508fa2678b9e8c5 (diff) | |
Puts dispatchUserAdded inside Binder.withCleanCallingIdentity
dispatchUserAdded eventually calls handleIncomingUser. And it requires
callingUid to have INTERACT_ACROSS_USERS permission.
That was failing some tests for auto.
This CL makes sure that method is called with clean calling identity.
Bug: 232945806
Test: atest CtsMultiUserTestCases:android.multiuser.cts.UserManagerTest#testCreateUser_withNewUserRequest_shouldCreateUserWithCorrectProperties
Change-Id: I2d0984c5166dd650f81a3a72696cece8054da26a
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions