summaryrefslogtreecommitdiff
path: root/ApiDocs.bp
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2021-07-26 15:41:01 -0600
committerJeff Sharkey <jsharkey@android.com>2021-07-27 09:45:54 -0600
commit75d4f93a4efd729e1a0f1ddf7774f0f245a51675 (patch)
treed061133819b7ddae703e8ea237c73d3c1da80f8c /ApiDocs.bp
parent7db2ece5c7c923ce6ca1169383fa1f598aa81d63 (diff)
Pass metadata as AttributionSourceSource.
These two PermissionManager methods are using AttributionSource as metadata only, and aren't interested in the remote caller enforcing that the claimed UID matches the caller, since they're not actually being used for permission enforcement. Thus we pass the metadata using the AttributionSourceState holder object and reconstruct on the remote side, entirely avoiding the enforceCallingUid() check. Bug: 193842956 Test: atest CtsPermission5TestCases Change-Id: I576b6feb8cc2b0586b4341268866d8027689293f
Diffstat (limited to 'ApiDocs.bp')
-rw-r--r--ApiDocs.bp10
1 files changed, 8 insertions, 2 deletions
diff --git a/ApiDocs.bp b/ApiDocs.bp
index 0aed5d9abea9..aae4a7174d68 100644
--- a/ApiDocs.bp
+++ b/ApiDocs.bp
@@ -113,7 +113,10 @@ stubs_defaults {
// TODO(b/169090544): remove below aidl includes.
aidl: {
local_include_dirs: ["media/aidl"],
- include_dirs: ["frameworks/av/aidl"],
+ include_dirs: [
+ "frameworks/av/aidl",
+ "frameworks/native/libs/permission/aidl",
+ ],
},
}
@@ -199,7 +202,10 @@ doc_defaults {
// TODO(b/169090544): remove below aidl includes.
aidl: {
local_include_dirs: ["media/aidl"],
- include_dirs: ["frameworks/av/aidl"],
+ include_dirs: [
+ "frameworks/av/aidl",
+ "frameworks/native/libs/permission/aidl",
+ ],
},
}