From 48113ca0298ca79473dca73b85ebd4ef1a9cd078 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Thu, 6 Oct 2011 03:59:43 +0200 Subject: NEWT/Android: Move fullscreen setting to AndroidWindow ; Cleanup AndroidWindow --- .../com/jogamp/android/launcher/NEWTLauncherActivity.java | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'src/android') diff --git a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java index b79be888f..3120fc73e 100644 --- a/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java +++ b/src/android/com/jogamp/android/launcher/NEWTLauncherActivity.java @@ -64,8 +64,8 @@ public abstract class NEWTLauncherActivity extends Activity { // System.setProperty("jogl.debug", "all"); // System.setProperty("jogl.debug.GLProfile", "true"); - // System.setProperty("jogl.debug.GLDrawable", "true"); - // System.setProperty("jogl.debug.GLContext", "true"); + System.setProperty("jogl.debug.GLDrawable", "true"); + System.setProperty("jogl.debug.GLContext", "true"); System.setProperty("jogl.debug.GLSLCode", "true"); System.setProperty("jogl.debug.CapabilitiesChooser", "true"); @@ -107,11 +107,6 @@ public abstract class NEWTLauncherActivity extends Activity { throw e; } - // Make window fullscreen - requestWindowFeature(Window.FEATURE_NO_TITLE); - getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, - WindowManager.LayoutParams.FLAG_FULLSCREEN); - callMethod(activityObject, mSetIsInvokedByExternalActivity, this); callMethod(activityObject, mOnCreate, savedInstanceState); -- cgit v1.2.3