mirror of
https://github.com/JustinZeus/Wholphin.git
synced 2026-07-08 23:51:21 +02:00
## Description r8 optimizations seemingly cause guava's LocalCache to throw an AssertationError when evicting an entry. This PR adds a broad keep rule for the cache package. The crash is reproducible on a release build with a TV Season that has 25+ episodes with people in them and scrolling through the episodes. It will crash when focusing on the ~25th episode. ### Related issues Related to #1437 ### Testing Emulator & nvidia shield ## 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.util.mpv.* { *; }
|
|
|
|
-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.** { *; }
|