Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 199d49a8 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Add documentation about permission in Nearby streaming policies" into tm-dev

parents 5f902c64 ea90abb5
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -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,