diff options
author | Jeff Sharkey <jsharkey@android.com> | 2020-04-24 19:21:20 -0600 |
---|---|---|
committer | Jeff Sharkey <jsharkey@android.com> | 2020-04-24 19:38:38 -0600 |
commit | edb79a954816f600f9d212db2fdc933f7e816ca9 (patch) | |
tree | 4b760ad8cd4fc44910021a60cb98daeda8e25c07 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6ebf410b818c6a525130d5fcb72381217fec8e7a (diff) |
Non-generic grants also need forceUriPermissions.
The recently adjusted logic created a regression where we didn't
always honor the forceUriPermissions flag from a provider; we need
to consider it both in the "generic" case where we don't know the
target and in the "non-generic" case where we know where the grant
is destined.
Bug: 154962874
Test: atest FrameworksServicesTests:com.android.server.uri
Test: atest CtsAppSecurityHostTestCases:android.appsecurity.cts.ExternalStorageHostTest
Change-Id: Ica89ee977e29e084a74e66f49d28d3aed10fe1f3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions