1
0
mirror of https://github.com/LSPosed/LSPosed.git synced 2024-11-14 09:17:02 +00:00
LSPosed/app/proguard-rules.pro
2021-10-17 08:32:41 +00:00

35 lines
1.2 KiB
Prolog

-keep class org.lsposed.manager.Constants {
public static boolean setBinder(android.os.IBinder);
}
-assumenosideeffects class kotlin.jvm.internal.Intrinsics {
public static void check*(...);
public static void throw*(...);
}
-assumenosideeffects class android.util.Log {
public static *** v(...);
public static *** d(...);
}
-keepclasseswithmembers,allowobfuscation class * {
@com.google.gson.annotations.SerializedName <fields>;
}
-repackageclasses
-allowaccessmodification
-overloadaggressively
# Gson uses generic type information stored in a class file when working with fields. Proguard
# removes such information by default, so configure it to keep all of it.
-keepattributes Signature,InnerClasses,EnclosingMethod
-dontwarn org.jetbrains.annotations.NotNull
-dontwarn org.jetbrains.annotations.Nullable
-dontwarn org.bouncycastle.jsse.BCSSLParameters
-dontwarn org.bouncycastle.jsse.BCSSLSocket
-dontwarn org.bouncycastle.jsse.provider.BouncyCastleJsseProvider
-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