Merge "Add warning for a known issue in a newly added API" into sc-qpr1-dev am: 697c7a819c

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15583141

Change-Id: I944cc601dc1b0eab325f75581a3ff4a2da019b0a
This commit is contained in:
TreeHugger Robot
2021-09-20 06:29:31 +00:00
committed by Automerger Merge Worker

View File

@@ -5935,6 +5935,10 @@ public abstract class Context {
* more general access to the URI's content provider then this check will
* always fail.
*
* <strong>Note:</strong> On SDK Version {@link android.os.Build.VERSION_CODES#S},
* calling this method from a secondary-user's context will incorrectly return
* {@link PackageManager#PERMISSION_DENIED} for all {code uris}.
*
* @param uris The list of URIs that is being checked.
* @param pid The process ID being checked against. Must be &gt; 0.
* @param uid The user ID being checked against. A uid of 0 is the root