From d7f3ceef5c75294306d0d9495e9ebc5ffca96302 Mon Sep 17 00:00:00 2001 From: NGB-Was-Taken <76197326+NGB-Was-Taken@users.noreply.github.com> Date: Sun, 2 Aug 2026 17:38:49 +0545 Subject: [PATCH] Ensure R8 keeps methods called externally by Shizuku (#3676) * Ensure R8 keeps methods called externally by Shizuku * Changelog --- CHANGELOG.md | 3 +++ app/proguard-rules.pro | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 212c28a5f..790ad124d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,9 @@ The format is a modified version of [Keep a Changelog](https://keepachangelog.co ### Added - Add Category filtering for the Updates tab ([@MajorTanya](https://github.com/MajorTanya)) ([#3589](https://github.com/mihonapp/mihon/pull/3589)) +### Fixed +- Fixed extension installation with shizuku installer ([@NGB-Was-Taken](https://github.com/NGB-Was-Taken)) ([#3676](https://github.com/mihonapp/mihon/pull/3676)) + ## [v0.20.2] - 2026-08-01 ### Added - Support resumable image downloads if supported by source ([@xMohnad](https://github.com/xMohnad)) ([#3167](https://github.com/mihonapp/mihon/pull/3167)) diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 0a2ae9e56..7eeb76954 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -89,3 +89,9 @@ # KotlinX Datetime -keep,allowoptimization class kotlinx.datetime.** { public protected *; } + +# Methods called by Shizuku only +-keepclassmembers class mihon.app.shizuku.ShellInterface { + public (); + public void destroy(); +}