Home | History | Annotate | Download | only in Wearable
      1 # Add project specific ProGuard rules here.
      2 # By default, the flags in this file are appended to flags specified
      3 # in ${sdk.dir}/tools/proguard/proguard-android.txt
      4 # You can edit the include path and order by changing the ProGuard
      5 # include property in project.properties.
      6 #
      7 # For more details, see
      8 #   http://developer.android.com/guide/developing/tools/proguard.html
      9 
     10 # Add classes here when necessary.
     11 
     12 -keep class android.support.wearable.view.WearableListView {
     13   private void setScrollAnimator(int);
     14   protected void setScrollVertically(int);
     15 }
     16 -keep class android.support.wearable.view.WearableListView.ViewHolder {
     17   private void setFocusPaddingTop(int);
     18   private void setFocusPaddingBottom(int);
     19 }
     20 
     21 # GmsCore Proguard rules.
     22 # See: https://developer.android.com/google/play-services/setup.html
     23 -keep class * extends java.util.ListResourceBundle {
     24     protected Object[][] getContents();
     25 }
     26 
     27 # Keep SafeParcelable value, needed for reflection. This is required to support backwards
     28 # compatibility of some classes.
     29 -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
     30     public static final *** NULL;
     31 }
     32 
     33 # Keep the names of classes/members we need for client functionality.
     34 -keepnames @com.google.android.gms.common.annotation.KeepName class *
     35 -keepclassmembernames class * {
     36     @com.google.android.gms.common.annotation.KeepName *;
     37 }
     38 
     39 # Needed for Parcelable/SafeParcelable Creators to not get stripped
     40 -keepnames class * implements android.os.Parcelable {
     41     public static final ** CREATOR;
     42 }
     43 
     44 # End GmsCore Proguard rules.
     45