From 00338c5c113ca9669c27079b363dd6b1cd2697c3 Mon Sep 17 00:00:00 2001 From: Damontecres Date: Sat, 27 Jun 2026 14:29:46 -0400 Subject: [PATCH] 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 --- app/proguard-rules.pro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 8210c734..d45ace7b 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,6 +1,6 @@ -keepattributes SourceFile,LineNumberTable --keep class com.github.damontecres.wholphin.util.mpv.* { *; } +-keep class com.github.damontecres.wholphin.mpv.MPVLib { *; } -keep class * extends com.google.protobuf.GeneratedMessageLite { *; } -keepclassmembers class * extends com.google.protobuf.GeneratedMessageLite {