Skip to content

Commit 5b117b3

Browse files
committedFeb 11, 2020
Keep InternalRewriter.rewrite to ensure it is not inlined
The function could be inlined into ParcelFileDescriptorRewinder.rewriteAndGet resulting in verification errors on pre api-level 21 devices.
1 parent 0647c41 commit 5b117b3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎library/proguard-rules.txt

+3
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
**[] $VALUES;
77
public *;
88
}
9+
-keep class com.bumptech.glide.load.data.ParcelFileDescriptorRewinder$InternalRewinder {
10+
*** rewind();
11+
}
912

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

0 commit comments

Comments
 (0)
Please sign in to comment.