summaryrefslogtreecommitdiff
path: root/android-project/app
diff options
context:
space:
mode:
authorSam Lantinga <slouken@libsdl.org>2018-10-09 20:12:40 -0700
committerSam Lantinga <slouken@libsdl.org>2018-10-09 20:12:40 -0700
commitcac5f5fa8b71c7af476d3181d80e5a184a94cd04 (patch)
tree5f75c9c1c672447dda4dcbb7a26589e98c2d3d56 /android-project/app
parent98d5b101881e1c2a838a6f8cea493af603fc759f (diff)
Removed unneeded variable qualifiers
Diffstat (limited to 'android-project/app')
-rw-r--r--android-project/app/src/main/java/org/libsdl/app/SDLActivity.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
index c5901abea2..df35787c89 100644
--- a/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
+++ b/android-project/app/src/main/java/org/libsdl/app/SDLActivity.java
@@ -191,8 +191,8 @@ public class SDLActivity extends Activity implements View.OnSystemUiVisibilityCh
// Setup
@Override
protected void onCreate(Bundle savedInstanceState) {
- Log.v(TAG, "Device: " + android.os.Build.DEVICE);
- Log.v(TAG, "Model: " + android.os.Build.MODEL);
+ Log.v(TAG, "Device: " + Build.DEVICE);
+ Log.v(TAG, "Model: " + Build.MODEL);
Log.v(TAG, "onCreate()");
super.onCreate(savedInstanceState);
@@ -1585,8 +1585,7 @@ class SDLSurface extends SurfaceView implements SurfaceHolder.Callback,
int nDeviceHeight = height;
try
{
- if ( android.os.Build.VERSION.SDK_INT >= 17 )
- {
+ if (Build.VERSION.SDK_INT >= 17) {
android.util.DisplayMetrics realMetrics = new android.util.DisplayMetrics();
mDisplay.getRealMetrics( realMetrics );
nDeviceWidth = realMetrics.widthPixels;