You've already forked android_translation_layer
mirror of
https://gitlab.com/android_translation_layer/android_translation_layer.git
synced 2025-10-27 11:48:10 -07:00
src/api-impl/android/opengl/GLSurfaceView.java: add onResume stub
This commit is contained in:
@@ -41,6 +41,10 @@ public class GLSurfaceView extends View { // TODO: have this extend SurfaceView
|
||||
private native void native_constructor(AttributeSet attrs);
|
||||
private native void native_constructor(Context context);
|
||||
|
||||
// Resumes the rendering thread, re-creating the OpenGL context if necessary. It is the counterpart to onPause(). This method should typically be called in Activity.onStart. Must not be called before a renderer has been set.
|
||||
// TODO: make use of this
|
||||
public void onResume() {}
|
||||
|
||||
public boolean onTouchEvent (MotionEvent event) {
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user