From 41801b0ca2a8d580d57bb1d7072622140b286b1d Mon Sep 17 00:00:00 2001 From: cretin45 Date: Fri, 23 Oct 2015 15:23:38 -0700 Subject: [PATCH] SetupWizard: Update proguard for play services 8115000 Change-Id: Ia3dfa3190b08fac70de2fe088da419d96b0ffa9e --- proguard.flags | 24 +++++++++++++++++++++++- res/values/version.xml | 4 ---- 2 files changed, 23 insertions(+), 5 deletions(-) delete mode 100644 res/values/version.xml diff --git a/proguard.flags b/proguard.flags index 979e6bc..cae5d2c 100644 --- a/proguard.flags +++ b/proguard.flags @@ -1,3 +1,25 @@ -keep class * extends java.util.ListResourceBundle { protected Object[][] getContents(); -} \ No newline at end of file +} + +# 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.** \ No newline at end of file diff --git a/res/values/version.xml b/res/values/version.xml deleted file mode 100644 index 1e7fd4e..0000000 --- a/res/values/version.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - 4323000 -