phone no longer sleeps while emulator is running.
This commit is contained in:
parent
bdfdfc138a
commit
6cce72e18a
|
@ -121,7 +121,7 @@ class GL2JNIView extends GLSurfaceView
|
|||
public GL2JNIView(Context context,String newFileName,boolean translucent,int depth,int stencil)
|
||||
{
|
||||
super(context);
|
||||
|
||||
setKeepScreenOn(true);
|
||||
vib=(Vibrator) context.getSystemService(Context.VIBRATOR_SERVICE);
|
||||
|
||||
// This is the game we are going to run
|
||||
|
|
Loading…
Reference in New Issue