From 7238bf5ce1ad822bd31f8e1fff4909766d0f1ffc Mon Sep 17 00:00:00 2001 From: chr56 Date: Mon, 25 Nov 2024 10:54:23 +0800 Subject: [PATCH] [proguard] cleanup --- app/proguard-rules-app.pro | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/app/proguard-rules-app.pro b/app/proguard-rules-app.pro index 303c8da05..8d2e57181 100644 --- a/app/proguard-rules-app.pro +++ b/app/proguard-rules-app.pro @@ -12,12 +12,19 @@ -keepclassmembernames class lib.phonograph.misc.RestResult$ParseError { ; } -keepclassmembernames class lib.phonograph.misc.RestResult$NetworkError { ; } --keepclasseswithmembernames class lib.phonograph.activity.** {public ; public ;} - --keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.activities.** extends android.app.Activity {public ;} --keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.fragments.player.** extends androidx.fragment.app.Fragment {public ;} --keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.** extends androidx.lifecycle.ViewModel {public ;} --keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.adapter.MultiSelectionController { void updateCab(); } +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.adapter.DisplayAdapter { protected ; } +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.adapter.DisplayAdapter$DisplayViewHolder { protected ; } +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.basis.** extends android.app.Activity { protected ; } +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.auxiliary.LauncherActivity { void goto*(); } +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.auxiliary.MigrationActivity { void *Impl();} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.auxiliary.PhonographIntroActivity$* { private ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.auxiliary.StarterActivity { private ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.explorer.** { protected ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.main.pages.** { protected ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.main.pages.adapter.** { protected ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.panel.** { protected ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.player.** { protected ;} +-keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.ui.modules.** extends androidx.lifecycle.ViewModel {public ;} -keepclassmembernames,allowoptimization,allowshrinking class player.phonograph.repo.mediastore.internal.QueryKt { public query*(...); }