Fix snet on release builds

This commit is contained in:
topjohnwu 2019-02-01 06:21:55 -05:00
parent 4520f46a57
commit 4b88131977
1 changed files with 5 additions and 1 deletions

View File

@ -22,8 +22,12 @@
-keep,allowoptimization class org.bouncycastle.jcajce.provider.digest.SHA1** { *; }
-dontwarn javax.naming.**
# Snet extention
# Snet
-keepclassmembers class com.topjohnwu.magisk.utils.ISafetyNetHelper { *; }
-keep,allowobfuscation interface com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback
-keepclassmembers class * implements com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback {
void onResponse(int);
}
# BootSigner
-keepclassmembers class com.topjohnwu.signer.BootSigner { *; }