aboutsummaryrefslogtreecommitdiffstats
path: root/app/proguard-rules.pro
diff options
context:
space:
mode:
Diffstat (limited to 'app/proguard-rules.pro')
-rw-r--r--app/proguard-rules.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro
index 25887cac..6f354039 100644
--- a/app/proguard-rules.pro
+++ b/app/proguard-rules.pro
@@ -4,3 +4,9 @@
-keep class org.eclipse.jgit.internal.JGitText { *; }
-keep class org.bouncycastle.jcajce.provider.** { *; }
-keep class !org.bouncycastle.jce.provider.X509LDAPCertStoreSpi,org.bouncycastle.jce.provider.** { *; }
+
+# JGit 5 references JMX (java.lang.management, javax.management), absent on Android. Both
+# paths are unreachable: WindowCache JMX stats are disabled in Application.onCreate and
+# GcOperation runs the GC steps without the PID lock that queries ManagementFactory.
+-dontwarn java.lang.management.**
+-dontwarn javax.management.**