aboutsummaryrefslogtreecommitdiffstats
path: root/play-services-base/proguard.txt
diff options
context:
space:
mode:
Diffstat (limited to 'play-services-base/proguard.txt')
-rw-r--r--play-services-base/proguard.txt24
1 files changed, 24 insertions, 0 deletions
diff --git a/play-services-base/proguard.txt b/play-services-base/proguard.txt
new file mode 100644
index 0000000..5e03f78
--- /dev/null
+++ b/play-services-base/proguard.txt
@@ -0,0 +1,24 @@
+-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;
+}
+
+# classes introduced in higher API levels than we use as target
+-dontwarn com.google.android.gms.common.SupportErrorDialogFragment
+-dontwarn com.google.android.gms.common.api.** \ No newline at end of file