Removed unneeded variable qualifiers
authorSam Lantinga <slouken@libsdl.org>
Tue, 09 Oct 2018 20:12:40 -0700
changeset 12312522de4f715bd
parent 12311 b19b09eb9e6d
child 12313 8451760ff7b3
Removed unneeded variable qualifiers
android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
     1.1 --- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Oct 09 17:41:40 2018 -0700
     1.2 +++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java	Tue Oct 09 20:12:40 2018 -0700
     1.3 @@ -191,8 +191,8 @@
     1.4      // Setup
     1.5      @Override
     1.6      protected void onCreate(Bundle savedInstanceState) {
     1.7 -        Log.v(TAG, "Device: " + android.os.Build.DEVICE);
     1.8 -        Log.v(TAG, "Model: " + android.os.Build.MODEL);
     1.9 +        Log.v(TAG, "Device: " + Build.DEVICE);
    1.10 +        Log.v(TAG, "Model: " + Build.MODEL);
    1.11          Log.v(TAG, "onCreate()");
    1.12          super.onCreate(savedInstanceState);
    1.13  
    1.14 @@ -1585,8 +1585,7 @@
    1.15          int nDeviceHeight = height;
    1.16          try
    1.17          {
    1.18 -            if ( android.os.Build.VERSION.SDK_INT >= 17 )
    1.19 -            {
    1.20 +            if (Build.VERSION.SDK_INT >= 17) {
    1.21                  android.util.DisplayMetrics realMetrics = new android.util.DisplayMetrics();
    1.22                  mDisplay.getRealMetrics( realMetrics );
    1.23                  nDeviceWidth = realMetrics.widthPixels;