Add documentation about permission in Nearby streaming policies
Fixes: 215301014 Test: Existing tests pass Change-Id: Iee6c961a622d81d76779e5e6b5c5543f132a0de1
This commit is contained in:
@@ -7913,6 +7913,10 @@ public class DevicePolicyManager {
|
||||
/**
|
||||
* Returns the current runtime nearby notification streaming policy set by the device or profile
|
||||
* owner.
|
||||
* <p>
|
||||
* The caller must be the target user's device owner/profile owner or hold the
|
||||
* {@link android.Manifest.permission#READ_NEARBY_STREAMING_POLICY READ_NEARBY_STREAMING_POLICY}
|
||||
* permission.
|
||||
*/
|
||||
@RequiresPermission(
|
||||
value = android.Manifest.permission.READ_NEARBY_STREAMING_POLICY,
|
||||
@@ -7956,6 +7960,10 @@ public class DevicePolicyManager {
|
||||
|
||||
/**
|
||||
* Returns the current runtime nearby app streaming policy set by the device or profile owner.
|
||||
* <p>
|
||||
* The caller must be the target user's device owner/profile owner or hold the
|
||||
* {@link android.Manifest.permission#READ_NEARBY_STREAMING_POLICY READ_NEARBY_STREAMING_POLICY}
|
||||
* permission.
|
||||
*/
|
||||
@RequiresPermission(
|
||||
value = android.Manifest.permission.READ_NEARBY_STREAMING_POLICY,
|
||||
|
||||
Reference in New Issue
Block a user