Commit 8da7e8adc9538f09e3ca37331c9ca2e0554fcbdb

Ryan C. Gordon 2015-04-08T01:37:17

Log Android hardware at startup (thanks, rettichschnidi!). Fixes Bugzilla #2653.

1
2
3
4
5
6
7
8
9
10
11
12
13
diff --git a/android-project/src/org/libsdl/app/SDLActivity.java b/android-project/src/org/libsdl/app/SDLActivity.java
index bd047d6..6c82b76 100644
--- a/android-project/src/org/libsdl/app/SDLActivity.java
+++ b/android-project/src/org/libsdl/app/SDLActivity.java
@@ -114,6 +114,8 @@ public class SDLActivity extends Activity {
     // Setup
     @Override
     protected void onCreate(Bundle savedInstanceState) {
+        Log.v("SDL", "Device: " + android.os.Build.DEVICE);                     
+        Log.v("SDL", "Model: " + android.os.Build.MODEL);
         Log.v("SDL", "onCreate():" + mSingleton);
         super.onCreate(savedInstanceState);