Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 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.** |
Paul Westbrook | ed21718 | 2012-10-03 00:34:48 -0700 | [diff] [blame] | 7 | -dontwarn com.android.ex.photo.** |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 8 | |
| 9 | # keep names that are used by reflection, from javascript or from unit tests |
| 10 | |
Paul Westbrook | bf5b1af | 2012-08-19 12:57:12 -0700 | [diff] [blame] | 11 | -keepclasseswithmembers class com.android.mail.compose.ComposeActivity { |
| 12 | *** registerTestSendOrSaveCallback(...); |
| 13 | } |
| 14 | |
Paul Westbrook | ed21718 | 2012-10-03 00:34:48 -0700 | [diff] [blame] | 15 | -keepclasseswithmembers class com.android.mail.providers.protos.mock.MockUiProvider { |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 16 | *** getAccountsUri(...); |
| 17 | } |
| 18 | |
Andy Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 19 | -keepclasseswithmembers class com.android.mail.providers.UIProvider { |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 20 | *** getAccountsUri(...); |
| 21 | } |
| 22 | |
Andy Huang | 30e2c24 | 2012-01-06 18:14:30 -0800 | [diff] [blame] | 23 | -keepclasseswithmembers class com.android.mail.utils.LogUtils { |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 24 | public <methods>; |
| 25 | } |
| 26 | |
| 27 | |
Paul Westbrook | 3578a2e | 2012-06-18 16:58:34 -0700 | [diff] [blame] | 28 | -keepclasseswithmembers class com.google.common.collect.ImmutableMap { |
| 29 | *** of(...); |
| 30 | } |
| 31 | |
| 32 | -keepclasseswithmembers class com.google.common.collect.ImmutableList { |
| 33 | *** of(...); |
| 34 | } |
| 35 | |
Paul Westbrook | 82ea6da | 2011-12-15 11:03:51 -0800 | [diff] [blame] | 36 | -keepclasseswithmembers class com.google.common.collect.Sets { |
| 37 | *** of(...); |
| 38 | } |
Paul Westbrook | 805e3c1 | 2012-01-04 15:36:37 -0800 | [diff] [blame] | 39 | |
mindyp | a53e8fa | 2012-09-09 12:18:45 -0700 | [diff] [blame] | 40 | -keepclasseswithmembers class com.android.mail.ui.LeaveBehindItem { |
| 41 | *** setAnimatedHeight(...); |
| 42 | } |
| 43 | |
Andy Huang | f70fc40 | 2012-02-17 15:37:42 -0800 | [diff] [blame] | 44 | -keepclasseswithmembers class com.android.mail.ui.ConversationViewFragment$MailJsBridge { |
| 45 | public <methods>; |
| 46 | } |
Mindy Pereira | e144d1d | 2012-03-05 13:08:31 -0800 | [diff] [blame] | 47 | |
Andy Huang | c1fb9a9 | 2013-02-11 13:09:12 -0800 | [diff] [blame] | 48 | -keepclasseswithmembers class com.android.mail.ui.ConversationViewFragment$MessageJsBridge { |
| 49 | public <methods>; |
| 50 | } |
| 51 | |
Mindy Pereira | e144d1d | 2012-03-05 13:08:31 -0800 | [diff] [blame] | 52 | -keepclasseswithmembers class com.android.mail.ui.TwoPaneLayout { |
| 53 | *** setFoldersLeft(...); |
| 54 | *** setListBitmapLeft(...); |
| 55 | *** setListBitmapAlpha(...); |
| 56 | *** setListLeft(...); |
| 57 | *** setListAlpha(...); |
| 58 | *** setConversationLeft(...); |
Mindy Pereira | 866d319 | 2012-03-26 09:50:00 -0700 | [diff] [blame] | 59 | } |
| 60 | |
| 61 | -keepclasseswithmembers class com.android.mail.browse.ConversationItemView { |
Andy Huang | 370f868 | 2013-04-09 12:44:44 -0700 | [diff] [blame] | 62 | *** setAnimatedHeightFraction(...); |
Mindy Pereira | 622f52b | 2012-08-07 13:51:36 -0700 | [diff] [blame] | 63 | } |
| 64 | |
| 65 | -keepclasseswithmembers class com.android.mail.ui.MailActivity { |
| 66 | *** doNothingClickHandler(...); |
Andy Huang | 370f868 | 2013-04-09 12:44:44 -0700 | [diff] [blame] | 67 | } |