Merge "Add documentation about permission in Nearby streaming policies" into tm-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
199d49a834
@@ -7913,6 +7913,10 @@ public class DevicePolicyManager {
|
|||||||
/**
|
/**
|
||||||
* Returns the current runtime nearby notification streaming policy set by the device or profile
|
* Returns the current runtime nearby notification streaming policy set by the device or profile
|
||||||
* owner.
|
* 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(
|
@RequiresPermission(
|
||||||
value = android.Manifest.permission.READ_NEARBY_STREAMING_POLICY,
|
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.
|
* 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(
|
@RequiresPermission(
|
||||||
value = android.Manifest.permission.READ_NEARBY_STREAMING_POLICY,
|
value = android.Manifest.permission.READ_NEARBY_STREAMING_POLICY,
|
||||||
|
|||||||
Reference in New Issue
Block a user