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.*
# work around a bug in proguard
# see https://sourceforge.net/p/proguard/bugs/729/
-keepnames public interface com.uber.autodispose.lifecycle.CorrespondingEventsFunction { *; }
# without this emoji font downloading fails with AbstractMethodError
-keep class * extends android.os.AsyncTask {
public *;
}
# Glide
-keep public class * implements com.bumptech.glide.module.GlideModule