Merge "Unhide GLSurfaceView.get/setPreserveEGLContextOnPause" into honeycomb

This commit is contained in:
Jack Palevich
2011-01-18 15:54:29 -08:00
committed by Android (Google) Code Review
2 changed files with 24 additions and 2 deletions

View File

@@ -136112,6 +136112,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"
@@ -136283,6 +136294,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"

View File

@@ -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() {