aboutsummaryrefslogtreecommitdiff
path: root/proguard-rules.txt
diff options
context:
space:
mode:
Diffstat (limited to 'proguard-rules.txt')
-rw-r--r--proguard-rules.txt34
1 files changed, 32 insertions, 2 deletions
diff --git a/proguard-rules.txt b/proguard-rules.txt
index 9dbf94a55..b43bc6749 100644
--- a/proguard-rules.txt
+++ b/proguard-rules.txt
@@ -15,11 +15,41 @@
#-keepclassmembers class fqcn.of.javascript.interface.for.webview {
# public *;
#}
+-keep class * extends java.util.ListResourceBundle {
+ protected Object[][] getContents();
+}
+
+-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
+ public static final *** NULL;
+}
--keepclasseswithmembernames class * {
- native <methods>;
+-keepnames @com.google.android.gms.common.annotation.KeepName class *
+-keepclassmembernames class * {
+ @com.google.android.gms.common.annotation.KeepName *;
}
+-keepnames class * implements android.os.Parcelable {
+ public static final ** CREATOR;
+}
+
+-keepclassmembers public class * extends android.support.v4.app.Fragment {
+ <init>(...);
+}
+
+-keep class sun.misc.Unsafe { *; }
+## https://code.google.com/p/google-gson/source/browse/trunk/examples/android-proguard-example/proguard.cfg
+-keepattributes Signature
+-keepattributes *Annotation*
+
+-keepnames enum * {
+ public static **[] values();
+ public static ** valueOf(java.lang.String);
+}
+
+-keep public class * extends android.app.Application
+-keep public class * extends android.app.Service
+-keep public class * extends android.content.BroadcastReceiver
+
-keep,allowobfuscation class com.anysoftkeyboard.IndirectlyInstantiated
-keepclasseswithmembernames class * extends @com.anysoftkeyboard.IndirectlyInstantiated * {
public protected <init>(...);