fix codacy

This commit is contained in:
AndyScherzinger 2017-04-03 21:50:42 +02:00
parent 3147a2c86a
commit 2bd7611a31
No known key found for this signature in database
GPG key ID: 6CADC7E3523C308B

View file

@ -120,8 +120,7 @@ public class BitmapUtils {
float scale = px / max;
int w = Math.round(scale * width);
int h = Math.round(scale * height);
bitmap = Bitmap.createScaledBitmap(bitmap, w, h, true);
return bitmap;
return Bitmap.createScaledBitmap(bitmap, w, h, true);
}
/**