Debug logging statement was visible in release version
This commit is contained in:
parent
ef41463b0c
commit
bc4c9654ea
@ -1,5 +1,6 @@
|
||||
package de.danoeh.antennapod.util;
|
||||
|
||||
import de.danoeh.antennapod.AppConfig;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.util.Log;
|
||||
@ -23,6 +24,7 @@ public class BitmapDecoder {
|
||||
int srcHeight = options.outHeight;
|
||||
int length = Math.max(srcWidth, srcHeight);
|
||||
int sampleSize = calculateSampleSize(preferredLength, length);
|
||||
if (AppConfig.DEBUG)
|
||||
Log.d(TAG, "Using samplesize " + sampleSize);
|
||||
options.inJustDecodeBounds = false;
|
||||
options.inSampleSize = sampleSize;
|
||||
|
Loading…
x
Reference in New Issue
Block a user