Patrick Graber | c9841b9 | 2016-05-09 18:52:10 -0700 | [diff] [blame] | 1 | -keep class * extends java.util.ListResourceBundle { |
| 2 | protected Object[][] getContents(); |
| 3 | } |
| 4 | |
| 5 | # Keep SafeParcelable value, needed for reflection. This is required to support backwards |
| 6 | # compatibility of some classes. |
| 7 | -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable { |
| 8 | public static final *** NULL; |
| 9 | } |
| 10 | |
| 11 | # Keep the names of classes/members we need for client functionality. |
| 12 | -keepnames @com.google.android.gms.common.annotation.KeepName class * |
| 13 | -keepclassmembernames class * { |
| 14 | @com.google.android.gms.common.annotation.KeepName *; |
| 15 | } |
| 16 | |
| 17 | # Needed for Parcelable/SafeParcelable Creators to not get stripped |
| 18 | -keepnames class * implements android.os.Parcelable { |
| 19 | public static final ** CREATOR; |
| 20 | } |
| 21 | |
| 22 | # Needed when building against the Marshmallow SDK |
| 23 | -dontwarn org.apache.http.** |
| 24 | -dontwarn android.support.** |
| 25 | -dontwarn com.google.android.gms.** |