From ca022f68af46d6b30e5f39789acf2d39bb5ddd52 Mon Sep 17 00:00:00 2001
From: Michael Wright
Date: Tue, 28 Aug 2018 16:58:59 +0100
Subject: [PATCH] Remove links to @removed classes.
We should keep the docs around for system components, but we can't link
to them anymore in the public docs since the permissions are no longer
public.
Bug: 111131054
Test: m -j4 offline-sdk-docs
Change-Id: I6bce56f35c8ff046229ff33a004952bbcc0e48d7
---
core/java/android/hardware/display/DisplayManager.java | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)
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.
*