From e2c9ef9faf9950a5ffc56fd94c24be92d915e2c8 Mon Sep 17 00:00:00 2001 From: LittleTurtle2333 <841474544@qq.com> Date: Thu, 17 Feb 2022 03:19:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20proguard-rules.pro?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- app/proguard-rules.pro | 21 ++++++++++++++++++++- 2 files changed, 22 insertions(+), 3 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 776a5c8c..ac84295d 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "com.lt2333.simplicitytools" minSdk 30 targetSdk 32 - versionCode 4 - versionName "1.0.3" + versionCode 5 + versionName '1.0.4' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 481bb434..7018289e 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -18,4 +18,23 @@ # If you keep the line number information, uncomment this to # hide the original source file name. -#-renamesourcefileattribute SourceFile \ No newline at end of file +#-renamesourcefileattribute SourceFile +-keep class * implements de.robv.android.xposed.IXposedHookLoadPackage { + public void *(de.robv.android.xposed.callbacks.XC_LoadPackage$LoadPackageParam); +} + +-keep class * implements de.robv.android.xposed.IXposedHookInitPackageResources { + public void *(de.robv.android.xposed.callbacks.XC_InitPackageResources$InitPackageResourcesParam); +} + +-keep class * implements de.robv.android.xposed.IXposedHookZygoteInit { + public void *(de.robv.android.xposed.IXposedHookZygoteInit$StartupParam); +} + +-assumenosideeffects class kotlin.jvm.internal.Intrinsics { + public static void check*(...); + public static void throw*(...); +} + +-allowaccessmodification +-overloadaggressively \ No newline at end of file