am a228e4f8: Merge "Unhide GLSurfaceView.get/setPreserveEGLContextOnPause" into honeycomb

* commit 'a228e4f833b96e0633571735c2363e30363e155c':
  Unhide GLSurfaceView.get/setPreserveEGLContextOnPause
This commit is contained in:
Jack Palevich
2011-01-18 18:35:42 -08:00
committed by Android Git Automerger
2 changed files with 24 additions and 2 deletions

View File

@@ -137575,6 +137575,17 @@
visibility="public" visibility="public"
> >
</method> </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" <method name="getRenderMode"
return="int" return="int"
abstract="false" abstract="false"
@@ -137746,6 +137757,19 @@
<parameter name="glWrapper" type="android.opengl.GLSurfaceView.GLWrapper"> <parameter name="glWrapper" type="android.opengl.GLSurfaceView.GLWrapper">
</parameter> </parameter>
</method> </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" <method name="setRenderMode"
return="void" return="void"
abstract="false" 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 * Control whether the EGL context is preserved when the GLSurfaceView is paused and
* resumed. * resumed.
* <p> * <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 * @return true if the EGL context will be preserved when paused
*/ */
public boolean getPreserveEGLContextOnPause() { public boolean getPreserveEGLContextOnPause() {