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

Commit ea90abb5 authored by Maurice Lam's avatar Maurice Lam
Browse files

Add documentation about permission in Nearby streaming policies

Fixes: 215301014
Test: Existing tests pass
Change-Id: Iee6c961a622d81d76779e5e6b5c5543f132a0de1
parent 60224bce
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,