[core] No verbose and debug log in release build

This commit is contained in:
LoveSy 2021-03-03 22:14:25 +08:00 committed by LoveSy
parent ef40e74af6
commit 534b9f4fe6
1 changed files with 6 additions and 2 deletions

View File

@ -29,7 +29,7 @@
} }
-keepnames class io.github.lsposed.lspd.hooker.HandleBindAppHooker -keepnames class io.github.lsposed.lspd.hooker.HandleBindAppHooker
-keepclasseswithmembers class io.github.lsposed.lspd.nativebridge.* { -keepclasseswithmembers class io.github.lsposed.lspd.nativebridge.* {
native *; native <methods>;
} }
-keepclasseswithmembers class io.github.lsposed.lspd.nativebridge.ClassLinker { -keepclasseswithmembers class io.github.lsposed.lspd.nativebridge.ClassLinker {
public static void onPostFixupStaticTrampolines(java.lang.Class); public static void onPostFixupStaticTrampolines(java.lang.Class);
@ -40,4 +40,8 @@
} }
-keepclasseswithmembers class io.github.lsposed.lspd.service.ConfigManager { -keepclasseswithmembers class io.github.lsposed.lspd.service.ConfigManager {
public static void main(java.lang.String[]); public static void main(java.lang.String[]);
} }
-assumenosideeffects class android.util.Log {
public static *** v(...);
public static *** d(...);
}