Add proguard rules for small unit test

These methods were being stripped, but are needed by the unit tes

Change-Id: I15495c2cb4c83d6f1a00bac20da715352eb58275
This commit is contained in:
Paul Westbrook 2014-08-01 17:33:49 -07:00
parent d37ca267dd
commit 0ef2851aeb

View File

@ -74,3 +74,23 @@
<init>(java.io.InputStream);
}
-keepclasseswithmembers class com.android.mail.utils.Throttle {
*** getTimeoutForTest();
}
-keepclasseswithmembers class com.android.emailcommon.VendorPolicyLoader {
*** clearInstanceForTest();
*** injectPolicyForTest(android.content.Context, java.lang.String, java.lang.Class);
}
-keepclasseswithmembers class com.android.email.mail.store.imap.ImapElement {
*** equalsForTest(com.android.email.mail.store.imap.ImapElement);
}
-keepclasseswithmembers class com.android.email.mail.store.imap.ImapTempFileLiteral {
*** tempFileExistsForTest();
}
-keepclasseswithmembers class com.android.emailcommon.utility.EmailAsyncTask$Tracker {
<init>();
}