Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Android] Remove artificial limitation to not leave the sdcard direct…
…ory. Keep screen on while running.
  • Loading branch information
Sonicadvance1 committed Jun 11, 2013
1 parent 8efdbcd commit fcf86f1
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -137,7 +137,7 @@ public void onActivityResult(int requestCode, int resultCode, Intent data)

String FileName = data.getStringExtra("Select");
GLview = new NativeGLSurfaceView(this);
//this.getWindow().setUiOptions(View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN, View.SYSTEM_UI_FLAG_HIDE_NAVIGATION | View.SYSTEM_UI_FLAG_FULLSCREEN);
this.getWindow().addFlags(WindowManager.LayoutParams.FLAG_KEEP_SCREEN_ON);
GLview.SetDimensions(screenWidth, screenHeight);
GLview.SetFileName(FileName);
setContentView(GLview);
Expand Down

0 comments on commit fcf86f1

Please sign in to comment.