summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlex Johnston <acjohnston@google.com>2020-02-21 16:21:38 +0000
committerAlex Johnston <acjohnston@google.com>2020-02-28 14:00:16 +0000
commitbb1d2a931b720c6509b26625effa3babf64b8d48 (patch)
treed63a123eac31b0ae2a39032c1c14e8f2428553ca /tools/aapt2/java/JavaClassGenerator_test.cpp
parent7bee686ef7193eb0dcef28c6af46bc6f86c0aaa5 (diff)
Fix testScreenCaptureDisabled
* A SecurityException was being thrown because getProfiles in UserManager cannot be called by the COPE PO for user 0 without permission MANAGE_USERS or CREATE_USERS. * Added binderWithCleanCallingIdentity to this method. Bug: 149941985 Test: atest com.android.cts.devicepolicy.OrgOwnedProfileOwnerTest#testScreenCaptureDisabled Change-Id: Iccc60233baaeaa732f197d7aaf31acc9d75a247b Merged-In: Iccc60233baaeaa732f197d7aaf31acc9d75a247b (cherry picked from commit 27975949140cbd942bdc7bfe3a2b787b3b123508)
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions