summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2020-04-13 10:24:49 -0600
committerJeff Sharkey <jsharkey@android.com>2020-05-29 15:01:45 -0600
commit307ea7a2fef3154683a013d6af565f311524de93 (patch)
tree7218182c03c3013889eaf593edafab09f3077ad5 /tools/aapt2/java/JavaClassGenerator.cpp
parent938089f3760f063a00b7e4f53403671b83e85e75 (diff)
Collect NeededUriGrants without holding locks.
In preparation for a future security fix, we need to determine Uri permission grants before acquiring the WM lock. This CL is mostly mechanical refactoring to split the calculation and granting logic into two phases, and pass around the calculated NeededUriGrants. There is no other logic changes included in this CL, so it should have no effects. Bug: 115619667 Test: atest WmTests:ActivityStarterTests Test: atest FrameworksServicesTests:com.android.server.uri Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.AppSecurityTests#testPermissionDiffCert Test: atest CtsWindowManagerDeviceTestCases:CrossAppDragAndDropTests Test: atest CtsWindowManagerDeviceTestCases:ActivityStarterTests Change-Id: I07f331a53e27ae5c9d4bade50d70544d02bcd7b1
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions