aboutsummaryrefslogtreecommitdiffstats
path: root/OpenKeychain/proguard-rules.pro
diff options
context:
space:
mode:
authorDominik Schürmann <dominik@dominikschuermann.de>2015-05-10 04:58:44 +0200
committerDominik Schürmann <dominik@dominikschuermann.de>2015-05-10 04:58:44 +0200
commit3c0f82970c07d11687501196c21ab68337eab34c (patch)
tree8cce3181db6e2ca39f418bff4b60e0cd56eb9468 /OpenKeychain/proguard-rules.pro
parentbfc57aefa5d9fd435e93589ea8a37c9747cb7814 (diff)
downloadopen-keychain-3c0f82970c07d11687501196c21ab68337eab34c.tar.gz
open-keychain-3c0f82970c07d11687501196c21ab68337eab34c.tar.bz2
open-keychain-3c0f82970c07d11687501196c21ab68337eab34c.zip
Workaround for Samsung Android 4.2 bug
Diffstat (limited to 'OpenKeychain/proguard-rules.pro')
-rw-r--r--OpenKeychain/proguard-rules.pro26
1 files changed, 26 insertions, 0 deletions
diff --git a/OpenKeychain/proguard-rules.pro b/OpenKeychain/proguard-rules.pro
new file mode 100644
index 000000000..38259dada
--- /dev/null
+++ b/OpenKeychain/proguard-rules.pro
@@ -0,0 +1,26 @@
+# 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 ** \ No newline at end of file