Preserve everything in package 'a'

Close #2301
This commit is contained in:
topjohnwu 2020-01-27 21:25:35 +08:00
parent e395c9442f
commit 1e2de1bb14

View File

@ -16,6 +16,9 @@
# public *; # public *;
#} #}
# Stubs
-keep class a.* { *; }
# Snet # Snet
-keepclassmembers class com.topjohnwu.magisk.core.utils.SafetyNetHelper { *; } -keepclassmembers class com.topjohnwu.magisk.core.utils.SafetyNetHelper { *; }
-keep,allowobfuscation interface com.topjohnwu.magisk.core.utils.SafetyNetHelper$Callback -keep,allowobfuscation interface com.topjohnwu.magisk.core.utils.SafetyNetHelper$Callback
@ -29,9 +32,6 @@
# BaseWorkerWrapper # BaseWorkerWrapper
-keep,allowobfuscation class * extends com.topjohnwu.magisk.core.base.BaseWorkerWrapper -keep,allowobfuscation class * extends com.topjohnwu.magisk.core.base.BaseWorkerWrapper
# BootSigner
-keep class a.a { *; }
# Strip logging # Strip logging
-assumenosideeffects class timber.log.Timber.Tree { *; } -assumenosideeffects class timber.log.Timber.Tree { *; }