fix r8 rules to avoid crash when downloading Emoji Font (#1312)

This commit is contained in:
Konrad Pozniak 2019-06-09 16:56:34 +02:00 committed by GitHub
parent c335651b6b
commit d8f7845be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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