summaryrefslogtreecommitdiffstats
path: root/proguard.flags
blob: 2f4766fe969c54af06d9b0d63f530aa5a27c4029 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# The support library contains references to newer platform versions.
# Don't warn about those in case this app is linking against an older
# platform version.  We know about them, and they are safe.

-dontwarn android.support.v4.**
-dontwarn android.support.v13.**
-dontwarn com.android.ex.photo.**
-dontwarn com.android.emailcommon.**

# keep names that are used by reflection, or from javascript

# TODO(skennedy) Remove this when the base file includes it
-keep class * implements android.os.Parcelable {
  public static final ** CREATOR;
}

-keepclasseswithmembers class com.android.mail.ui.LeaveBehindItem {
  *** setAnimatedHeight(...);
}

-keepclasseswithmembers class com.android.mail.ui.ConversationViewFragment$MailJsBridge {
  public <methods>;
}

-keepclasseswithmembers class com.android.mail.browse.ConversationItemView {
  *** setAnimatedHeightFraction(...);
}

-keepclasseswithmembers class * extends com.android.mail.ui.ConversationSpecialItemView {
  *** setAnimatedHeight(...);
}