diff --git a/core/java/android/hardware/display/DisplayManager.java b/core/java/android/hardware/display/DisplayManager.java index d51e896949fc5..e8fb287795635 100644 --- a/core/java/android/hardware/display/DisplayManager.java +++ b/core/java/android/hardware/display/DisplayManager.java @@ -167,8 +167,7 @@ public final class DisplayManager { * reasonable measures, such as over-the-air encryption, to prevent the contents * of the display from being intercepted or recorded on a persistent medium. *
- * Creating a secure virtual display requires the - * {@link android.Manifest.permission#CAPTURE_SECURE_VIDEO_OUTPUT} permission. + * Creating a secure virtual display requires the CAPTURE_SECURE_VIDEO_OUTPUT permission. * This permission is reserved for use by system components and is not available to * third-party applications. *
@@ -228,9 +227,8 @@ public final class DisplayManager { * * *- * Creating an auto-mirroing virtual display requires the - * {@link android.Manifest.permission#CAPTURE_VIDEO_OUTPUT} - * or {@link android.Manifest.permission#CAPTURE_SECURE_VIDEO_OUTPUT} permission. + * Creating an auto-mirroing virtual display requires the CAPTURE_VIDEO_OUTPUT + * or CAPTURE_SECURE_VIDEO_OUTPUT permission. * These permissions are reserved for use by system components and are not available to * third-party applications. *