Home | History | Annotate | Download | only in CellBroadcastReceiver
      1 # This is a configuration file for ProGuard.
      2 # http://proguard.sourceforge.net/index.html#manual/usage.html
      3 
      4 # We want to keep methods in Activity that could be used in the XML attribute onClick.
      5 -keepclassmembers class * extends android.app.Activity {
      6     public void *(android.view.View);
      7     public void *(android.view.MenuItem);
      8 }
      9 
     10 # Keep setters in Views so that animations can still work.
     11 -keep public class * extends android.view.View {
     12     public <init>(android.content.Context);
     13     public <init>(android.content.Context, android.util.AttributeSet);
     14     public <init>(android.content.Context, android.util.AttributeSet, int);
     15 
     16     void set*(***);
     17     *** get*();
     18 }
     19 
     20 # Keep classes that may be inflated from XML.
     21 -keepclasseswithmembers class * {
     22     public <init>(android.content.Context, android.util.AttributeSet);
     23 }
     24 -keepclasseswithmembers class * {
     25     public <init>(android.content.Context, android.util.AttributeSet, int);
     26 }
     27 
     28 # Keep annotated classes or class members.
     29 -keep @android.support.annotation.Keep class *
     30 -keepclassmembers class * {
     31     @android.support.annotation.Keep *;
     32 }