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

Commit e63a09b1 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Automerger Merge Worker
Browse files

Merge "Add documentation about permission in Nearby streaming policies" into tm-dev am: 199d49a8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/16981566

Change-Id: I81f8e42aff8efa34ca6d35aa3f6fec9f61cdd7a9
parents a3eda4f0 199d49a8
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,