From 585f2716e3cfc4a554cf353fa3d59cc2e57da2c4 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Fri, 17 Aug 2018 15:32:35 +0100 Subject: [PATCH] Add @UnsupportedAppUsage annotations For packages: javax.microedition.khronos.opengles javax.microedition.khronos.egl This is an automatically generated CL. See go/UnsupportedAppUsage for more details. Exempted-From-Owner-Approval: Mechanical changes to the codebase which have been approved by Android API council and announced on android-eng@ Bug: 110868826 Test: m Change-Id: I0af80d46c5810dab9f7002cc33537e9356ae55d1 Merged-In: I3615f60789c14c44284c896c3a9ea291100dff8e --- config/hiddenapi-light-greylist.txt | 1 - opengl/java/javax/microedition/khronos/egl/EGL10.java | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/hiddenapi-light-greylist.txt b/config/hiddenapi-light-greylist.txt index 862e69f66684a..dd3bddda93280 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -5610,7 +5610,6 @@ Ljava/util/zip/ZipInputStream;->tmpbuf:[B Ljava/util/zip/ZipOutputStream;->method:I Ljava/util/zip/ZipOutputStream;->names:Ljava/util/HashSet; Ljava/util/zip/ZipOutputStream;->written:J -Ljavax/microedition/khronos/egl/EGL10;->eglReleaseThread()Z Ljavax/net/ssl/SSLServerSocketFactory;->defaultServerSocketFactory:Ljavax/net/ssl/SSLServerSocketFactory; Ljavax/net/ssl/SSLSocketFactory;->createSocket(Ljava/net/Socket;Ljava/io/InputStream;Z)Ljava/net/Socket; Ljavax/net/ssl/SSLSocketFactory;->defaultSocketFactory:Ljavax/net/ssl/SSLSocketFactory; diff --git a/opengl/java/javax/microedition/khronos/egl/EGL10.java b/opengl/java/javax/microedition/khronos/egl/EGL10.java index 612d59c53e9f1..8a2517062d4dd 100644 --- a/opengl/java/javax/microedition/khronos/egl/EGL10.java +++ b/opengl/java/javax/microedition/khronos/egl/EGL10.java @@ -16,6 +16,7 @@ package javax.microedition.khronos.egl; +import android.annotation.UnsupportedAppUsage; import java.lang.String; public interface EGL10 extends EGL { @@ -116,6 +117,7 @@ public interface EGL10 extends EGL { String eglQueryString(EGLDisplay display, int name); boolean eglQuerySurface(EGLDisplay display, EGLSurface surface, int attribute, int[] value); /** @hide **/ + @UnsupportedAppUsage boolean eglReleaseThread(); boolean eglSwapBuffers(EGLDisplay display, EGLSurface surface); boolean eglTerminate(EGLDisplay display);