mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-17 15:08:28 +00:00
Strip logging code with Proguard
This commit is contained in:
parent
c5d67ebf72
commit
413d4badfd
9
app/proguard-rules.pro
vendored
9
app/proguard-rules.pro
vendored
@ -16,8 +16,8 @@
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Keep all names, we are open source anyway :)
|
||||
-keepnames class ** { *; }
|
||||
# Don't obfuscate, we are open source anyway :)
|
||||
-dontobfuscate
|
||||
|
||||
# BouncyCastle
|
||||
-keep class org.bouncycastle.jcajce.provider.asymmetric.rsa.**SHA1** { *; }
|
||||
@ -27,3 +27,8 @@
|
||||
|
||||
# Gson
|
||||
-keepattributes Signature
|
||||
|
||||
# Strip logging
|
||||
-assumenosideeffects class com.topjohnwu.magisk.utils.Logger {
|
||||
public *** debug(...);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user