Fix NPE when DEBUG = false

Change-Id: I1d2fcb7a636369bf5dcabdda1a7ba5b106a0677b
This commit is contained in:
Hyunyoung Song
2017-03-28 11:52:26 -07:00
parent dcd8b5c272
commit 3d6d4cacdc
@@ -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();
}
/**