Home | History | Annotate | Download | only in notificationsgenerator_wear
      1 # To enable ProGuard in your project, edit project.properties
      2 # to define the proguard.config property as described in that file.
      3 #
      4 # Add project specific ProGuard rules here.
      5 # By default, the flags in this file are appended to flags specified
      6 # in ${sdk.dir}/tools/proguard/proguard-android.txt
      7 # You can edit the include path and order by changing the ProGuard
      8 # include property in project.properties.
      9 #
     10 # For more details, see
     11 #   http://developer.android.com/guide/developing/tools/proguard.html
     12 
     13 # Add any project specific keep options here:
     14 
     15 # If your project uses WebView with JS, uncomment the following
     16 # and specify the fully qualified class name to the JavaScript interface
     17 # class:
     18 #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
     19 #   public *;
     20 #}
     21 
     22 # GmsCore Proguard rules.
     23 # See: https://developer.android.com/google/play-services/setup.html
     24 -keep class * extends java.util.ListResourceBundle {
     25     protected Object[][] getContents();
     26 }
     27 
     28 # Keep SafeParcelable value, needed for reflection. This is required to support backwards
     29 # compatibility of some classes.
     30 -keep public class com.google.android.gms.common.internal.safeparcel.SafeParcelable {
     31     public static final *** NULL;
     32 }
     33 
     34 # Keep the names of classes/members we need for client functionality.
     35 -keepnames @com.google.android.gms.common.annotation.KeepName class *
     36 -keepclassmembernames class * {
     37     @com.google.android.gms.common.annotation.KeepName *;
     38 }
     39 
     40 # Needed for Parcelable/SafeParcelable Creators to not get stripped
     41 -keepnames class * implements android.os.Parcelable {
     42     public static final ** CREATOR;
     43 }
     44 
     45 # Suppress reblochon client library unexpected warnings
     46 # TODO: Remove the following suppression lines once either the platform prebuilts get updated
     47 # or the reblochon client library removes unexpected dependencies.
     48 # The following warnings were encountered:
     49 #   com.google.android.gms.car.* can't find android.view.SearchEvent
     50 #   com.google.android.gms.cast.* can't find android.support.v7.media.*
     51 -dontwarn android.view.SearchEvent
     52 -dontwarn android.support.v7.media.**
     53 
     54 # End GmsCore Proguard rules.