Skip to content

Commit

Permalink
Keep InternalRewriter.rewrite to ensure it is not inlined
Browse files Browse the repository at this point in the history
The function could be inlined into
ParcelFileDescriptorRewinder.rewriteAndGet resulting in verification
errors on pre api-level 21 devices.
  • Loading branch information
mkj-gram committed Feb 11, 2020
1 parent 0647c41 commit 5b117b3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions library/proguard-rules.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
**[] $VALUES;
public *;
}
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
*** rewind();
}

# Uncomment for DexGuard only
#-keepresourcexmlelements manifest/application/meta-data@value=GlideModule

0 comments on commit 5b117b3

Please sign in to comment.