diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 9ede658cd..01d749710 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -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 { *; }