diff options
| author | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-06-11 08:24:23 -0500 |
|---|---|---|
| committer | Ryan Houdek <Sonicadvance1@gmail.com> | 2013-06-11 08:24:23 -0500 |
| commit | fcf86f112af0dac317e618a5a544457e70db2268 (patch) | |
| tree | c5dc6e3c6fb3207ecb9cdf668b966f37a3ba62af /Source/Android/src/org | |
| parent | 8efdbcda9e70eba8f3d3208b580fd0c5d9a9cccb (diff) | |
[Android] Remove artificial limitation to not leave the sdcard directory. Keep screen on while running.
Diffstat (limited to 'Source/Android/src/org')
| -rw-r--r-- | Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java b/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java index 7edd0fe936..bee3e5fcca 100644 --- a/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java +++ b/Source/Android/src/org/dolphinemu/dolphinemu/DolphinEmulator.java @@ -137,7 +137,7 @@ public class DolphinEmulator<MainActivity> extends Activity 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); |
