fix: R8 Full Mode 导致旧版 UI 闪退

This commit is contained in:
HuanCheng65 2023-09-22 13:51:33 +08:00
parent 114dba3e00
commit 4f3538339e
No known key found for this signature in database
GPG Key ID: 5EC9DD60A32C7360
2 changed files with 7 additions and 0 deletions

View File

@ -261,6 +261,12 @@
-keep,allowobfuscation,allowshrinking class kotlinx.coroutines.flow.Flow -keep,allowobfuscation,allowshrinking class kotlinx.coroutines.flow.Flow
-keep,allowobfuscation,allowshrinking class * extends kotlinx.coroutines.flow.Flow -keep,allowobfuscation,allowshrinking class * extends kotlinx.coroutines.flow.Flow
-keep,allowobfuscation,allowshrinking class kotlinx.coroutines.Deferred
-keep,allowobfuscation,allowshrinking class * extends kotlinx.coroutines.Deferred
-keep,allowobfuscation,allowshrinking class com.huanchengfly.tieba.post.api.retrofit.ApiResult
-keep,allowobfuscation,allowshrinking class * extends com.huanchengfly.tieba.post.api.retrofit.ApiResult
-keep,allowobfuscation,allowshrinking interface retrofit2.Call -keep,allowobfuscation,allowshrinking interface retrofit2.Call
-keep,allowobfuscation,allowshrinking class retrofit2.Response -keep,allowobfuscation,allowshrinking class retrofit2.Response
-keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation -keep,allowobfuscation,allowshrinking class kotlin.coroutines.Continuation

View File

@ -14,3 +14,4 @@ booster.transform.r.inline.ignores=android/*,androidx/*,com/huanchengfly/tieba/p
android.defaults.buildfeatures.buildconfig=true android.defaults.buildfeatures.buildconfig=true
android.nonTransitiveRClass=false android.nonTransitiveRClass=false
android.nonFinalResIds=false android.nonFinalResIds=false
#android.enableR8.fullMode=false