mirror of
https://github.com/signalapp/Signal-Android.git
synced 2026-07-01 11:35:46 +01:00
37 lines
1.3 KiB
INI
37 lines
1.3 KiB
INI
-dontoptimize
|
|
-dontobfuscate
|
|
-keepattributes SourceFile,LineNumberTable
|
|
-keep class org.whispersystems.** { *; }
|
|
-keep class org.signal.libsignal.net.** { *; }
|
|
-keep class org.signal.libsignal.protocol.** { *; }
|
|
-keep class org.signal.libsignal.usernames.** { *; }
|
|
-keep class org.thoughtcrime.securesms.** { *; }
|
|
-keep class org.signal.donations.json.** { *; }
|
|
-keep class org.signal.network.** { *; }
|
|
-keepclassmembers class ** {
|
|
public void onEvent*(**);
|
|
}
|
|
|
|
# Protobuf lite
|
|
-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }
|
|
|
|
-keep class androidx.window.** { *; }
|
|
|
|
# Workaround for R8 non-determinism in AGP 9.x. R8 inconsistently keeps or strips
|
|
# the Signature attribute on this Kotlin lambda subclass of the generic
|
|
# LottieValueCallback, causing intermittent dex byte differences. Explicitly
|
|
# keeping the class stabilizes R8's attribute decisions.
|
|
-keep class com.airbnb.lottie.compose.LottieDynamicPropertiesKt$toValueCallback$1 {
|
|
*;
|
|
}
|
|
|
|
-keepclassmembers class * extends androidx.constraintlayout.motion.widget.Key {
|
|
public <init>();
|
|
}
|
|
|
|
# AGP generated dont warns
|
|
-dontwarn com.android.org.conscrypt.SSLParametersImpl
|
|
-dontwarn org.apache.harmony.xnet.provider.jsse.SSLParametersImpl
|
|
-dontwarn org.slf4j.impl.StaticLoggerBinder
|
|
-dontwarn sun.net.spi.nameservice.NameService
|
|
-dontwarn sun.net.spi.nameservice.NameServiceDescriptor |