Skip to content

Commit

Permalink
Merge pull request #1281 from mcoded/3.0
Browse files Browse the repository at this point in the history
Use application Context in GifResourceDecoder
  • Loading branch information
sjudd authored Jun 22, 2016
2 parents 77c3101 + 2cf9d2b commit 3881e22
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public GifResourceDecoder(Context context, BitmapPool bitmapPool) {
// Visible for testing.
GifResourceDecoder(Context context, BitmapPool bitmapPool, GifHeaderParserPool parserPool,
GifDecoderPool decoderPool) {
this.context = context;
this.context = context.getApplicationContext();
this.bitmapPool = bitmapPool;
this.decoderPool = decoderPool;
this.provider = new GifBitmapProvider(bitmapPool);
Expand Down

0 comments on commit 3881e22

Please sign in to comment.