Parcourir la source

Android: remove reference to screenOrientation from unused test project

iwgeric il y a 10 ans
Parent
commit
5ab8fb8f6a

+ 5 - 7
jme3-android/src/main/java/jme3test/android/DemoAndroidHarness.java

@@ -7,21 +7,19 @@ import com.jme3.app.AndroidHarness;
 public class DemoAndroidHarness extends AndroidHarness
 {
     @Override
-    public void onCreate(Bundle savedInstanceState) 
-    {        
+    public void onCreate(Bundle savedInstanceState)
+    {
         // Set the application class to run
         // First Extract the bundle from intent
         Bundle bundle = getIntent().getExtras();
 
         //Next extract the values using the key as
-        appClass = bundle.getString("APPCLASSNAME");                
-        
+        appClass = bundle.getString("APPCLASSNAME");
+
         exitDialogTitle = "Close Demo?";
         exitDialogMessage = "Press Yes";
                         
-        screenOrientation = ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE;
-        
-        super.onCreate(savedInstanceState);                
+        super.onCreate(savedInstanceState);
     }
 
 }