Home | History | Annotate | Download | only in UnifiedEmail
      1 # The support library contains references to newer platform versions.
      2 # Don't warn about those in case this app is linking against an older
      3 # platform version.  We know about them, and they are safe.
      4 
      5 -dontwarn android.support.v4.**
      6 -dontwarn android.support.v13.**
      7 -dontwarn com.android.ex.photo.**
      8 
      9 # keep names that are used by reflection, from javascript or from unit tests
     10 
     11 -keepclasseswithmembers class com.android.mail.compose.ComposeActivity {
     12   *** registerTestSendOrSaveCallback(...);
     13 }
     14 
     15 -keepclasseswithmembers class com.android.mail.providers.protos.mock.MockUiProvider {
     16   *** getAccountsUri(...);
     17 }
     18 
     19 -keepclasseswithmembers class com.android.mail.providers.UIProvider {
     20   *** getAccountsUri(...);
     21 }
     22 
     23 -keepclasseswithmembers class com.android.mail.utils.LogUtils {
     24   public <methods>;
     25 }
     26 
     27 # Needed for Parcelable/SafeParcelable Creators to not get stripped
     28 -keep class * implements android.os.Parcelable {
     29     public static final ** CREATOR;
     30 }
     31 
     32 -keepclasseswithmembers class com.google.common.collect.ImmutableMap {
     33   *** of(...);
     34 }
     35 
     36 -keepclasseswithmembers class com.google.common.collect.ImmutableList {
     37   *** of(...);
     38 }
     39 
     40 -keepclasseswithmembers class com.google.common.collect.Sets {
     41   *** of(...);
     42 }
     43 
     44 -keepclasseswithmembers class com.android.mail.ui.LeaveBehindItem {
     45   *** setAnimatedHeight(...);
     46 }
     47 
     48 -keepclasseswithmembers class com.android.mail.ui.ConversationViewFragment$MailJsBridge {
     49   public <methods>;
     50 }
     51 
     52 -keepclasseswithmembers class com.android.mail.ui.ConversationViewFragment$MessageJsBridge {
     53   public <methods>;
     54 }
     55 
     56 -keepclasseswithmembers class com.android.mail.ui.TwoPaneLayout {
     57   *** setFoldersLeft(...);
     58   *** setListBitmapLeft(...);
     59   *** setListBitmapAlpha(...);
     60   *** setListLeft(...);
     61   *** setListAlpha(...);
     62   *** setConversationLeft(...);
     63 }
     64 
     65 -keepclasseswithmembers class com.android.mail.browse.ConversationItemView {
     66   *** setAnimatedHeightFraction(...);
     67   *** setPhotoFlipFraction(...);
     68 }
     69 
     70 -keepclasseswithmembers class com.android.mail.ui.MailActivity {
     71   *** doNothingClickHandler(...);
     72 }
     73 
     74 -keepclasseswithmembers class * extends com.android.mail.ui.ConversationSpecialItemView {
     75   *** setAnimatedHeight(...);
     76 }
     77