From 6b436464d2f4e431755974ef1d3dd5b6ae5e2c87 Mon Sep 17 00:00:00 2001 From: William Escande Date: Mon, 3 Jan 2022 12:08:51 +0100 Subject: [PATCH] Javadoc on Method from api review Add some specific info on checkPermissionForDataDeliveryFromDataSource javadoc. Fix: 204179567 Bug: 195144968 Test: build (it's only javadoc) Change-Id: I6d4e5b9e06bf990b5e40eb727259dc79753d5eef --- core/java/android/permission/PermissionManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/java/android/permission/PermissionManager.java b/core/java/android/permission/PermissionManager.java index e2f59082c1f7a..17f57a8dc4683 100644 --- a/core/java/android/permission/PermissionManager.java +++ b/core/java/android/permission/PermissionManager.java @@ -218,7 +218,8 @@ public final class PermissionManager { /** * Checks whether a given data access chain described by the given {@link AttributionSource} * has a given permission. Call this method if you are the datasource which would not blame you - * for access to the data since you are the data. + * for access to the data since you are the data. Use this API if you are the datasource of the + * protected state. * * NOTE: Use this method only for permission checks at the * point where you will deliver the permission protected data to clients.