Skip to content

Commit

Permalink
Removed unneeded variable qualifiers
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Oct 10, 2018
1 parent 82c2f04 commit 4679f68
Showing 1 changed file with 3 additions and 4 deletions.
Expand Up @@ -191,8 +191,8 @@ public static void initialize() {
// 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);

Expand Down Expand Up @@ -1585,8 +1585,7 @@ public void surfaceChanged(SurfaceHolder holder,
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;
Expand Down

0 comments on commit 4679f68

Please sign in to comment.