private static LruPoolStrategy getDefaultStrategy() {
        final LruPoolStrategy strategy;
        if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) {
            strategy = new SizeConfigStrategy();
        } else {
            strategy = new AttributeStrategy();
        }
        return strategy;
    }
Constructor for LruBitmapPool.

@param maxSize The initial maximum size of the pool in bytes.
@param allowedConfigs A white listed set of {@link Bitmap.Config} that are allowed to be put
                      into the pool. Configs not in the allowed set will be rejected.
core/src/main/java/com/bumptech/glide/load/engine/bitmap_recycle/LruBitmapPool.java