2015-08-15 13:18:40 -07:00
|
|
|
-dontobfuscate
|
|
|
|
-dontoptimize
|
|
|
|
-keepattributes SourceFile,LineNumberTable,Exceptions
|
|
|
|
-keep class org.fdroid.fdroid.** {*;}
|
|
|
|
-dontskipnonpubliclibraryclassmembers
|
|
|
|
-dontwarn android.test.**
|
|
|
|
-dontwarn com.android.support.test.**
|
|
|
|
|
|
|
|
-dontwarn javax.naming.**
|
|
|
|
-dontnote android.support.**
|
|
|
|
-dontnote **ILicensingService
|
|
|
|
|
2015-09-08 16:38:19 +02:00
|
|
|
# StrongHttpsClient and its support classes are totally unused, so the
|
|
|
|
# ch.boye.httpclientandroidlib.** classes are also unneeded
|
|
|
|
-dontwarn info.guardianproject.netcipher.client.**
|
|
|
|
|
2015-08-29 21:42:50 -07:00
|
|
|
# These libraries are known to break if minification is enabled on them. They
|
|
|
|
# use reflection to instantiate classes, for example. If the keep flags are
|
|
|
|
# removed, proguard will strip classes which are required, which may result in
|
|
|
|
# crashes.
|
2015-08-27 21:57:39 +02:00
|
|
|
-keep class kellinwood.** {*;}
|
|
|
|
-keep class javax.jmdns.** {*;}
|
|
|
|
-keep class org.spongycastle.** {*;}
|
|
|
|
-keep class eu.chainfire.** {*;}
|
2015-08-15 13:18:40 -07:00
|
|
|
|
|
|
|
# This keeps class members used for SystemInstaller IPC.
|
|
|
|
# Reference: https://gitlab.com/fdroid/fdroidclient/issues/79
|
|
|
|
-keepclassmembers class * implements android.os.IInterface {
|
|
|
|
public *;
|
|
|
|
}
|
2015-08-15 14:00:24 -07:00
|
|
|
|
|
|
|
# Samsung Android 4.2 bug
|
|
|
|
# https://code.google.com/p/android/issues/detail?id=78377
|
|
|
|
-keepnames class !android.support.v7.internal.view.menu.**, ** {*;}
|
|
|
|
|
|
|
|
-keep public class android.support.v7.widget.** {*;}
|
|
|
|
-keep public class android.support.v7.internal.widget.** {*;}
|
|
|
|
|
|
|
|
-keep public class * extends android.support.v4.view.ActionProvider {
|
|
|
|
public <init>(android.content.Context);
|
|
|
|
}
|