@Override
    public synchronized Bitmap get(int width, int height, Bitmap.Config config) {
        Bitmap result = getDirty(width, height, config);
        if (result != null) {
            // Bitmaps in the pool contain random data that in some cases must be cleared for an image to be rendered
            // correctly. we shouldn't force all consumers to independently erase the contents individually, so we do so
            // here. See issue #131.
            result.eraseColor(Color.TRANSPARENT);
        }

        return result;
    }
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