diff options
author | 2018-10-24 09:10:32 -0600 | |
---|---|---|
committer | 2018-10-24 09:25:55 -0600 | |
commit | 986992f2cde4dfde5c574e7739b17093047ae5b9 (patch) | |
tree | e1f418e27ee22f022850233e189ea61f940d3bea | |
parent | 6e8c60ccc1bbfb4da31ef4d1055d938cb2d430af (diff) |
Make EGL15 class final
Updates from API review feedback.
Bug: 118296391
Test: manually inspect code
Change-Id: If79f03497e77dfce65909a734bafbb6e08c39155
-rwxr-xr-x | api/current.txt | 3 | ||||
-rw-r--r-- | opengl/java/android/opengl/EGL15.java | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index 1c3ee82dbba0..b6427919f45f 100755 --- a/api/current.txt +++ b/api/current.txt @@ -29742,8 +29742,7 @@ package android.opengl { field public static final int EGL_WINDOW_BIT = 4; // 0x4 } - public class EGL15 { - ctor public EGL15(); + public final class EGL15 { method public static int eglClientWaitSync(android.opengl.EGLDisplay, android.opengl.EGLSync, int, long); method public static android.opengl.EGLImage eglCreateImage(android.opengl.EGLDisplay, android.opengl.EGLContext, int, long, long[], int); method public static android.opengl.EGLSurface eglCreatePlatformPixmapSurface(android.opengl.EGLDisplay, android.opengl.EGLConfig, java.nio.Buffer, long[], int); diff --git a/opengl/java/android/opengl/EGL15.java b/opengl/java/android/opengl/EGL15.java index f855fe2591e1..bd845e7ec1a0 100644 --- a/opengl/java/android/opengl/EGL15.java +++ b/opengl/java/android/opengl/EGL15.java @@ -20,7 +20,9 @@ package android.opengl; * EGL 1.5 * */ -public class EGL15 { +public final class EGL15 { + + private EGL15() {}; public static final int EGL_CONTEXT_OPENGL_CORE_PROFILE_BIT = 0x00000001; public static final int EGL_CONTEXT_OPENGL_COMPATIBILITY_PROFILE_BIT = 0x00000002; |