aboutsummaryrefslogtreecommitdiffstats
path: root/proguard.flags
diff options
context:
space:
mode:
Diffstat (limited to 'proguard.flags')
-rw-r--r--proguard.flags26
1 files changed, 26 insertions, 0 deletions
diff --git a/proguard.flags b/proguard.flags
index 933b849..133c8ce 100644
--- a/proguard.flags
+++ b/proguard.flags
@@ -1,3 +1,29 @@
-keep class com.cyanogenmod.lockclock.preference.Preferences {
*;
}
+
+-keep class * extends java.util.ListResourceBundle {
+ protected Object[][] getContents();
+}
+
+# Keep SafeParcelable value, needed for reflection. This is required to support backwards
+# compatibility of some classes.
+-keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
+ public static final *** NULL;
+}
+
+# Keep the names of classes/members we need for client functionality.
+-keepnames @com.google.android.gms.common.annotation.KeepName class *
+-keepclassmembernames class * {
+ @com.google.android.gms.common.annotation.KeepName *;
+}
+
+# Needed for Parcelable/SafeParcelable Creators to not get stripped
+-keepnames class * implements android.os.Parcelable {
+ public static final ** CREATOR;
+}
+
+# Needed when building against the Marshmallow SDK
+-dontwarn org.apache.http.**
+-dontwarn android.support.**
+-dontwarn com.google.android.gms.**