diff options
-rw-r--r-- | api/current.xml | 24 | ||||
-rw-r--r-- | opengl/java/android/opengl/GLSurfaceView.java | 2 |
2 files changed, 24 insertions, 2 deletions
diff --git a/api/current.xml b/api/current.xml index 4f566f6..e21094e 100644 --- a/api/current.xml +++ b/api/current.xml @@ -136088,6 +136088,17 @@ visibility="public" > </method> +<method name="getPreserveEGLContextOnPause" + return="boolean" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +</method> <method name="getRenderMode" return="int" abstract="false" @@ -136259,6 +136270,19 @@ <parameter name="glWrapper" type="android.opengl.GLSurfaceView.GLWrapper"> </parameter> </method> +<method name="setPreserveEGLContextOnPause" + return="void" + abstract="false" + native="false" + synchronized="false" + static="false" + final="false" + deprecated="not deprecated" + visibility="public" +> +<parameter name="preserveOnPause" type="boolean"> +</parameter> +</method> <method name="setRenderMode" return="void" abstract="false" diff --git a/opengl/java/android/opengl/GLSurfaceView.java b/opengl/java/android/opengl/GLSurfaceView.java index 4099c4c..32d1a23 100644 --- a/opengl/java/android/opengl/GLSurfaceView.java +++ b/opengl/java/android/opengl/GLSurfaceView.java @@ -272,7 +272,6 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback } /** - * @hide * Control whether the EGL context is preserved when the GLSurfaceView is paused and * resumed. * <p> @@ -295,7 +294,6 @@ public class GLSurfaceView extends SurfaceView implements SurfaceHolder.Callback } /** - * @hide * @return true if the EGL context will be preserved when paused */ public boolean getPreserveEGLContextOnPause() { |