From b6c9782f5a61a9cf7e9bdacfe2db9e044a545224 Mon Sep 17 00:00:00 2001 From: Mathew Inwood Date: Fri, 17 Aug 2018 15:23:54 +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: 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 0e0a8c77eac65..f51afce8a6ef5 100644 --- a/config/hiddenapi-light-greylist.txt +++ b/config/hiddenapi-light-greylist.txt @@ -5552,7 +5552,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);