暂时不混淆ExoPlayer

This commit is contained in:
Xwite 2022-10-17 16:12:25 +08:00 committed by GitHub
parent aec35d20c8
commit 6058c4a3ee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -232,10 +232,12 @@
public static ** valueOf(java.lang.String);
}
## 保证该私有变量不被混淆
## ExoPlayer 反射设置ua 保证该私有变量不被混淆
-keepclassmembers class com.google.android.exoplayer2.upstream.cache.CacheDataSource$Factory {
*** upstreamDataSourceFactory;
}
## ExoPlayer 暂时不混淆
-keep class com.google.android.exoplayer.** {*;}
## 对外提供api
-keep class io.legado.app.api.ReturnData{*;}