summaryrefslogtreecommitdiff
path: root/proguard.flags
blob: 9e47361b255bda0f06756a4cda58ba9476ac69c0 (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
# 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 androidx.core.**
-dontwarn androidx.core.**
-dontwarn com.android.ex.photo.**

# 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 * implements com.android.mail.ui.ConversationSpecialItemView {
  *** setAnimatedHeight(...);
}