aboutsummaryrefslogtreecommitdiffstats
path: root/play-services-location/proguard.txt
diff options
context:
space:
mode:
Diffstat (limited to 'play-services-location/proguard.txt')
-rw-r--r--play-services-location/proguard.txt23
1 files changed, 23 insertions, 0 deletions
diff --git a/play-services-location/proguard.txt b/play-services-location/proguard.txt
new file mode 100644
index 0000000..199d972
--- /dev/null
+++ b/play-services-location/proguard.txt
@@ -0,0 +1,23 @@
+-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;
+}
+
+-dontwarn com.google.android.gms.common.**
+-dontwarn com.google.android.gms.internal.** \ No newline at end of file