From 47352eddd0fd1ef79cec01f24c4db2ebc198384d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sat, 29 Aug 2015 21:42:50 -0700 Subject: [PATCH] Use a more generic comment on -keep proguard rules --- F-Droid/proguard-rules.pro | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/F-Droid/proguard-rules.pro b/F-Droid/proguard-rules.pro index 20e23d259..cd71ce863 100644 --- a/F-Droid/proguard-rules.pro +++ b/F-Droid/proguard-rules.pro @@ -10,11 +10,10 @@ -dontnote android.support.** -dontnote **ILicensingService -# The nature of the Java security suite implementations are that they use a -# lot of reflection to instantiate classes. The end result is that proguard -# excludes classes which may be required, depending on the security algorithms -# required by certain certificates. -# Reference: https://gitlab.com/fdroid/fdroidclient/issues/88 +# 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. -keep class kellinwood.** {*;} -keep class javax.jmdns.** {*;} -keep class org.spongycastle.** {*;}