Mention REQUESTED_PERMISSION_NEVER_FOR_LOCATION in

requestedPermissionsFlags javadoc.

Instead of only the other way around.

Bug: 225095217
Test: presubmit
Change-Id: Ia3c05b4df4c6dc7543a7e55aa0470f4205520f36
This commit is contained in:
Hai Zhang
2022-03-17 20:53:00 +00:00
parent e29c639ea4
commit 0ee35ca5ca

View File

@@ -213,7 +213,8 @@ public class PackageInfo implements Parcelable {
* or null if there were none. This is only filled in if the flag
* {@link PackageManager#GET_PERMISSIONS} was set. Each value matches
* the corresponding entry in {@link #requestedPermissions}, and will have
* the flag {@link #REQUESTED_PERMISSION_GRANTED} set as appropriate.
* the flags {@link #REQUESTED_PERMISSION_GRANTED} and
* {@link #REQUESTED_PERMISSION_NEVER_FOR_LOCATION} set as appropriate.
*/
public int[] requestedPermissionsFlags;