Fix proguard rules

This commit is contained in:
vvb2060 2021-04-17 18:54:27 +08:00 committed by John Wu
parent 69b00d3782
commit 29cc372bfa

View File

@ -26,7 +26,7 @@
-keepclassmembers class com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper { *; } -keepclassmembers class com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper { *; }
-keep,allowobfuscation interface com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback -keep,allowobfuscation interface com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback
-keepclassmembers class * implements com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback { -keepclassmembers class * implements com.topjohnwu.magisk.ui.safetynet.SafetyNetHelper$Callback {
void onResponse(org.json.JSONObject); void onResponse(java.lang.String);
} }
# Stub # Stub
@ -46,7 +46,12 @@
-repackageclasses 'a' -repackageclasses 'a'
-allowaccessmodification -allowaccessmodification
# QOL -dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontnote ** -dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn com.caverock.androidsvg.** -dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-dontwarn ru.noties.markwon.** -dontwarn org.commonmark.ext.gfm.strikethrough.Strikethrough
-dontwarn org.conscrypt.Conscrypt*
-dontwarn org.conscrypt.ConscryptHostnameVerifier
-dontwarn org.openjsse.javax.net.ssl.SSLParameters
-dontwarn org.openjsse.javax.net.ssl.SSLSocket
-dontwarn org.openjsse.net.ssl.OpenJSSE