Make release builds work

This commit is contained in:
topjohnwu
2020-01-15 00:51:27 +08:00
parent 433ae89e53
commit 7532477a2f
2 changed files with 7 additions and 17 deletions
+3 -9
View File
@@ -23,21 +23,15 @@
void onResponse(int);
}
# Keep all fragment constructors
-keepclassmembers class * extends androidx.fragment.app.Fragment {
public <init>(...);
}
# Fragments
-keep,allowobfuscation class * extends androidx.fragment.app.Fragment
# DelegateWorker
# BaseWorkerWrapper
-keep,allowobfuscation class * extends com.topjohnwu.magisk.core.base.BaseWorkerWrapper
# BootSigner
-keep class a.a { *; }
# Workaround R8 bug
-keep,allowobfuscation class com.topjohnwu.magisk.core.GeneralReceiver
-keepclassmembers class a.e { *; }
# Strip logging
-assumenosideeffects class timber.log.Timber.Tree { *; }