Commit 413d4bad authored by topjohnwu's avatar topjohnwu

Strip logging code with Proguard

parent c5d67ebf
...@@ -16,8 +16,8 @@ ...@@ -16,8 +16,8 @@
# public *; # public *;
#} #}
# Keep all names, we are open source anyway :) # Don't obfuscate, we are open source anyway :)
-keepnames class ** { *; } -dontobfuscate
# BouncyCastle # BouncyCastle
-keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.**SHA1** { *; } -keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.**SHA1** { *; }
...@@ -27,3 +27,8 @@ ...@@ -27,3 +27,8 @@
# Gson # Gson
-keepattributes Signature -keepattributes Signature
# Strip logging
-assumenosideeffects class com.topjohnwu.magisk.utils.Logger {
public *** debug(...);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment