fix r8 rules to avoid crash when downloading Emoji Font (#1312)
This commit is contained in:
parent
c335651b6b
commit
d8f7845be5
1 changed files with 4 additions and 3 deletions
7
app/proguard-rules.pro
vendored
7
app/proguard-rules.pro
vendored
|
@ -94,9 +94,10 @@
|
||||||
|
|
||||||
-dontwarn com.google.errorprone.annotations.*
|
-dontwarn com.google.errorprone.annotations.*
|
||||||
|
|
||||||
# work around a bug in proguard
|
# without this emoji font downloading fails with AbstractMethodError
|
||||||
# see https://sourceforge.net/p/proguard/bugs/729/
|
-keep class * extends android.os.AsyncTask {
|
||||||
-keepnames public interface com.uber.autodispose.lifecycle.CorrespondingEventsFunction { *; }
|
public *;
|
||||||
|
}
|
||||||
|
|
||||||
# Glide
|
# Glide
|
||||||
-keep public class * implements com.bumptech.glide.module.GlideModule
|
-keep public class * implements com.bumptech.glide.module.GlideModule
|
||||||
|
|
Loading…
Reference in a new issue