Fix SafetyNet

This commit is contained in:
vvb2060 2020-08-24 06:03:14 +08:00 committed by John Wu
parent d6062944f1
commit b44dcc2da0

View File

@ -32,10 +32,12 @@
-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(int); void onResponse(org.json.JSONObject);
} }
# Fragments # Fragments
# TODO: Remove when AGP 4.1 release
# https://issuetracker.google.com/issues/142601969
-keep,allowobfuscation class * extends androidx.fragment.app.Fragment -keep,allowobfuscation class * extends androidx.fragment.app.Fragment
# Strip Timber verbose and debug logging # Strip Timber verbose and debug logging