mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-25 08:57:39 +00:00
Fixed initial crashes occurring due to improperly obfuscated constructors and inner fields
This commit is contained in:
parent
4fd0fe3194
commit
a7eec2f0a0
5
app/proguard-rules.pro
vendored
5
app/proguard-rules.pro
vendored
@ -16,6 +16,11 @@
|
||||
# public *;
|
||||
#}
|
||||
|
||||
# Internal app data and IO helper constructors
|
||||
-keep class com.topjohnwu.magisk.model.entity.** { *; }
|
||||
-keep class com.topjohnwu.magisk.data.database.base.** { public <init>(...); }
|
||||
-keep class com.topjohnwu.magisk.data.network.** { public <init>(...); }
|
||||
|
||||
# Snet
|
||||
-keepclassmembers class com.topjohnwu.magisk.utils.ISafetyNetHelper { *; }
|
||||
-keep,allowobfuscation interface com.topjohnwu.magisk.utils.ISafetyNetHelper$Callback
|
||||
|
Loading…
x
Reference in New Issue
Block a user