summaryrefslogtreecommitdiff
path: root/core/java/android/util/FastImmutableArraySet.java
diff options
context:
space:
mode:
authorYasin Kilicdere <tyk@google.com>2022-05-13 00:31:05 +0100
committerYasin Kilicdere <tyk@google.com>2022-05-16 15:47:23 +0100
commitf87160eec0f693d7f8fb6c16c6e600919efb03c8 (patch)
tree68b3f5dfd563bf7697a30ac83e0de01ab3313fe4 /core/java/android/util/FastImmutableArraySet.java
parent8ade0d824cf5ffd57ad89e5b6b3f40381e700149 (diff)
Puts mPm.onNewUserCreated inside Binder.withCleanCallingIdentity
PackageManagerService.onNewUserCreated eventually calls ComputerEngine.getInstalledPackages. 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: 228253821 Test: atest CtsMultiUserTestCases:android.multiuser.cts.UserManagerTest#testCreateUser_withNewUserRequest_shouldCreateUserWithCorrectProperties Change-Id: Ia06b9d5e6501140541e8d520350368df1abe2f15
Diffstat (limited to 'core/java/android/util/FastImmutableArraySet.java')
0 files changed, 0 insertions, 0 deletions