aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/proguard-rules.pro
diff options
context:
space:
mode:
Diffstat (limited to 'OpenKeychain/proguard-rules.pro')
-rw-r--r--OpenKeychain/proguard-rules.pro27
1 files changed, 27 insertions, 0 deletions
diff --git a/OpenKeychain/proguard-rules.pro b/OpenKeychain/proguard-rules.pro
new file mode 100644
index 000000000..533cae706
--- /dev/null
+++ b/OpenKeychain/proguard-rules.pro
@@ -0,0 +1,27 @@
+# Add project specific ProGuard rules here.
+# You can edit the include path and order by changing the proguardFiles
+# directive in build.gradle.
+#
+# For more details, see
+# http://developer.android.com/guide/developing/tools/proguard.html
+
+# Add any project specific keep options here:
+
+# If your project uses WebView with JS, uncomment the following
+# and specify the fully qualified class name to the JavaScript interface
+# class:
+#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
+# public *;
+#}
+
+
+# Workaround for Samsung Android 4.2 bug
+# https://code.google.com/p/android/issues/detail?id=78377
+# https://code.google.com/p/android/issues/detail?id=78377#c188
+-keepattributes **
+-keep class !android.support.v7.internal.view.menu.**,** {*;}
+-dontpreverify
+-dontoptimize
+-dontshrink
+-dontwarn **
+-dontnote ** \ No newline at end of file