Fix NPE when DEBUG = false
Change-Id: I1d2fcb7a636369bf5dcabdda1a7ba5b106a0677b
This commit is contained in:
@@ -113,11 +113,8 @@ public class IconNormalizer {
|
||||
int[] mPixels = new int[mMaxSize * mMaxSize];
|
||||
mAdaptiveIconScale = SCALE_NOT_INITIALIZED;
|
||||
|
||||
// Only needed when DEBUG == true
|
||||
if (DEBUG) {
|
||||
mDir = context.getExternalFilesDir(null);
|
||||
mRandom = new Random();
|
||||
}
|
||||
mDir = context.getExternalFilesDir(null);
|
||||
mRandom = new Random();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user