mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-20 08:18: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 *;
|
# 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 @@
|
|||||||
|
|
||||||
# Gson
|
# Gson
|
||||||
-keepattributes Signature
|
-keepattributes Signature
|
||||||
|
|
||||||
|
# Strip logging
|
||||||
|
-assumenosideeffects class com.topjohnwu.magisk.utils.Logger {
|
||||||
|
public *** debug(...);
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user