Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f488f09

Browse files
committed
Merge branch 'master' of github.com:wasabeef/glide-transformations
2 parents aef7541 + 76b7e3b commit f488f09

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

transformations/src/main/java/jp/wasabeef/glide/transformations/BlurTransformation.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,14 +58,14 @@ public BlurTransformation(Context context, int radius) {
5858
}
5959

6060
public BlurTransformation(Context context, BitmapPool pool, int radius, int sampling) {
61-
mContext = context;
61+
mContext = context.getApplicationContext();
6262
mBitmapPool = pool;
6363
mRadius = radius;
6464
mSampling = sampling;
6565
}
6666

6767
public BlurTransformation(Context context, int radius, int sampling) {
68-
mContext = context;
68+
mContext = context.getApplicationContext();
6969
mBitmapPool = Glide.get(context).getBitmapPool();
7070
mRadius = radius;
7171
mSampling = sampling;

0 commit comments

Comments
 (0)