From 625cdcb4a33f902200be1e21e8291a1aec37d070 Mon Sep 17 00:00:00 2001 From: Damontecres Date: Sat, 23 May 2026 21:21:51 -0400 Subject: [PATCH] Fix proguard for guava cache (#1445) ## 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 --- app/proguard-rules.pro | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index ec0ffe67..8210c734 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -8,3 +8,6 @@ ; } -dontwarn com.google.protobuf.** + +# TODO investigate using smaller scope +-keep class com.google.common.cache.** { *; }