mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-11-05 18:30:59 +01:00
## Description Fixes a crash when trying to play content via MPV on release builds. After #1365, the package name for `MPVLib` changed, so the existing proguard rule no longer applied. This meant the native code could no longer find the right class. ### Related issues Fixes #1633 https://github.com/damontecres/wholphin-extensions/pull/9 fixes this upstream ### Testing Tested release builds on emulator ## Screenshots N/A ## AI or LLM usage None
13 lines
400 B
Prolog
13 lines
400 B
Prolog
-keepattributes SourceFile,LineNumberTable
|
|
|
|
-keep class com.github.damontecres.wholphin.mpv.MPVLib { *; }
|
|
|
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
|
-keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {
|
|
<fields>;
|
|
<methods>;
|
|
}
|
|
-dontwarn com.google.protobuf.**
|
|
|
|
# TODO investigate using smaller scope
|
|
-keep class com.google.common.cache.** { *; }
|