mirror of
https://github.com/gedoor/legado.git
synced 2024-08-30 09:23:26 +08:00
暂时不混淆ExoPlayer
This commit is contained in:
parent
aec35d20c8
commit
6058c4a3ee
4
app/proguard-rules.pro
vendored
4
app/proguard-rules.pro
vendored
@ -232,10 +232,12 @@
|
|||||||
public static ** valueOf(java.lang.String);
|
public static ** valueOf(java.lang.String);
|
||||||
}
|
}
|
||||||
|
|
||||||
## 保证该私有变量不被混淆
|
## ExoPlayer 反射设置ua 保证该私有变量不被混淆
|
||||||
-keepclassmembers class com.google.android.exoplayer2.upstream.cache.CacheDataSource$Factory {
|
-keepclassmembers class com.google.android.exoplayer2.upstream.cache.CacheDataSource$Factory {
|
||||||
*** upstreamDataSourceFactory;
|
*** upstreamDataSourceFactory;
|
||||||
}
|
}
|
||||||
|
## ExoPlayer 暂时不混淆
|
||||||
|
-keep class com.google.android.exoplayer.** {*;}
|
||||||
|
|
||||||
## 对外提供api
|
## 对外提供api
|
||||||
-keep class io.legado.app.api.ReturnData{*;}
|
-keep class io.legado.app.api.ReturnData{*;}
|
||||||
|
Loading…
Reference in New Issue
Block a user