wolfskin/app/proguard-rules.pro
Damontecres 00338c5c11
Fix MPV minify crash (#1636)
## 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
2026-06-27 14:29:46 -04:00

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.** { *; }