From 74d3fa5f234f55dbcc89ef2dd97ea933a5999cba Mon Sep 17 00:00:00 2001 From: Pat Plunkett Date: Tue, 4 Sep 2018 10:45:25 -0700 Subject: [PATCH] Hide Vr2dDisplayFlag annotation Bug: 113857483 Test: lunch taimen_xr-userdebug; builds; runs Change-Id: Ide43d77cb3d453586c7df7d4653ed5a23b3e4b21 --- api/system-current.txt | 3 --- core/java/android/app/Vr2dDisplayProperties.java | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/api/system-current.txt b/api/system-current.txt index 1d5f586ab5e9a..afce431d49ecb 100644 --- a/api/system-current.txt +++ b/api/system-current.txt @@ -474,9 +474,6 @@ package android.app { method public android.app.Vr2dDisplayProperties.Builder setEnabled(boolean); } - public static abstract class Vr2dDisplayProperties.Vr2dDisplayFlag implements java.lang.annotation.Annotation { - } - public class VrManager { method public int getVr2dDisplayId(); method public boolean isPersistentVrModeEnabled(); diff --git a/core/java/android/app/Vr2dDisplayProperties.java b/core/java/android/app/Vr2dDisplayProperties.java index 2fd82b2d29e27..17521319aaf88 100644 --- a/core/java/android/app/Vr2dDisplayProperties.java +++ b/core/java/android/app/Vr2dDisplayProperties.java @@ -35,6 +35,7 @@ public final class Vr2dDisplayProperties implements Parcelable { public static final int FLAG_VIRTUAL_DISPLAY_ENABLED = 1; + /** @hide */ @Retention(RetentionPolicy.SOURCE) @IntDef({ FLAG_VIRTUAL_DISPLAY_ENABLED