2012-04-25 17:26:46 +00:00
|
|
|
#Email-specific proguard flags that are not covered by UnifiedEmail go here
|
|
|
|
|
2011-06-14 17:25:27 +00:00
|
|
|
-keep class com.android.emailcommon.provider.Account
|
2011-03-01 01:52:37 +00:00
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keepclasseswithmembers class * {
|
2011-06-14 17:25:27 +00:00
|
|
|
public static void actionEditIncomingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
2011-06-14 17:25:27 +00:00
|
|
|
public static void actionEditOutgoingSettings(android.app.Activity, int, com.android.emailcommon.provider.Account);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
2011-06-14 17:25:27 +00:00
|
|
|
public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-04-19 18:32:06 +00:00
|
|
|
-keepclasseswithmembers class * {
|
2011-06-29 21:00:43 +00:00
|
|
|
public *** newInstance(com.android.emailcommon.provider.Account, android.content.Context);
|
2011-04-19 18:32:06 +00:00
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class android.content.SharedPreferences$Editor {
|
|
|
|
*** apply();
|
|
|
|
}
|
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keep class * extends org.apache.james.mime4j.util.TempStorage
|
|
|
|
|
2010-11-18 23:42:00 +00:00
|
|
|
# Keep names that are used only by unit tests or by animators
|
2010-04-02 18:09:12 +00:00
|
|
|
-keep class ** {
|
|
|
|
*** *ForTest(...);
|
2010-11-18 23:42:00 +00:00
|
|
|
*** *Anim(...);
|
2010-04-02 18:09:12 +00:00
|
|
|
}
|
|
|
|
|
2011-03-01 22:20:19 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.internet.Rfc822Output {
|
|
|
|
*** getHtmlBody(java.lang.String);
|
|
|
|
*** buildBodyText(android.content.Context, com.android.emailcommon.provider.EmailContent$Message, boolean);
|
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.mail.Address {
|
2011-02-08 01:27:43 +00:00
|
|
|
<init>(java.lang.String);
|
|
|
|
<init>(java.lang.String,java.lang.String);
|
2010-02-19 00:28:20 +00:00
|
|
|
*** parseAndPack(java.lang.String);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.SecurityPolicy {
|
|
|
|
*** setContext(android.content.Context);
|
|
|
|
}
|
|
|
|
|
2011-02-16 00:28:33 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.utility.Utility {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** dumpCursor(android.database.Cursor);
|
2011-03-01 22:20:19 +00:00
|
|
|
*** fromUtf8(byte[]);
|
2011-03-01 01:52:37 +00:00
|
|
|
*** isFirstUtf8Byte(byte);
|
|
|
|
*** replaceBareLfWithCrlf(java.lang.String);
|
2011-02-08 01:27:43 +00:00
|
|
|
}
|
|
|
|
|
2011-02-16 00:28:33 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.provider.EmailProvider {
|
2010-02-19 00:28:20 +00:00
|
|
|
*** getReadableDatabase(android.content.Context);
|
|
|
|
}
|
|
|
|
|
2011-02-13 02:56:09 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment {
|
2010-02-19 00:28:20 +00:00
|
|
|
*** createUniqueFile(java.lang.String);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.Preferences {
|
|
|
|
*** getAccountByContentUri(android.net.Uri);
|
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keep class com.android.emailcommon.mail.Message$RecipientType
|
2010-02-19 00:28:20 +00:00
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.mail.Message {
|
|
|
|
*** setRecipient(com.android.emailcommon.mail.Message$RecipientType, com.android.emailcommon.mail.Address);
|
2011-02-08 01:27:43 +00:00
|
|
|
}
|
|
|
|
|
2011-02-04 17:29:13 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.internet.MimeHeader {
|
|
|
|
*** writeToString();
|
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.internet.MimeMessage {
|
2011-02-08 01:27:43 +00:00
|
|
|
<init>();
|
|
|
|
<init>(java.io.InputStream);
|
2010-02-19 00:28:20 +00:00
|
|
|
*** getExtendedHeader(java.lang.String);
|
|
|
|
*** setExtendedHeader(java.lang.String, java.lang.String);
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getExtendedHeaders();
|
|
|
|
*** setExtendedHeaders(java.lang.String);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.internet.MimeUtility {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** foldAndEncode(java.lang.String);
|
2011-02-11 17:19:27 +00:00
|
|
|
*** findPartByContentId(com.android.emailcommon.mail.Part, java.lang.String);
|
|
|
|
*** findFirstPartByMimeType(com.android.emailcommon.mail.Part, java.lang.String);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.transport.SmtpSender {
|
2013-01-30 22:20:58 +00:00
|
|
|
*** setTransport(com.android.email.mail.transport.MailTransport);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.Store {
|
|
|
|
*** requireStructurePrefetch();
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.ImapStore {
|
2013-01-30 22:20:58 +00:00
|
|
|
*** setTransport(com.android.email.mail.transport.MailTransport);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-04-19 18:32:06 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.ImapFolder {
|
2011-02-11 17:19:27 +00:00
|
|
|
*** getMessages(int, int, com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(java.lang.String[], com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getUnreadMessageCount();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.Pop3Store {
|
2013-01-30 22:20:58 +00:00
|
|
|
*** setTransport(com.android.email.mail.transport.MailTransport);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.Pop3Store$Pop3Folder {
|
2011-02-11 17:19:27 +00:00
|
|
|
*** getMessages(int, int, com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(java.lang.String[], com.android.emailcommon.mail.Folder$MessageRetrievalListener);
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getUnreadMessageCount();
|
|
|
|
*** isOpen();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keep class com.android.emailcommon.mail.Flag
|
2011-02-08 01:27:43 +00:00
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.mail.Folder {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getUnreadMessageCount();
|
|
|
|
*** delete(boolean);
|
|
|
|
*** getRole();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keep class com.android.emailcommon.mail.Folder$FolderRole
|
2010-02-19 00:28:20 +00:00
|
|
|
|
2011-02-11 17:19:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.mail.PackedString$Builder {
|
2011-02-08 01:27:43 +00:00
|
|
|
<init>();
|
|
|
|
<init>(java.lang.String);
|
|
|
|
*** get(java.lang.String);
|
2011-03-01 01:52:37 +00:00
|
|
|
*** put(java.lang.String, java.lang.String);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap {
|
|
|
|
*** getCount(...);
|
|
|
|
*** size();
|
|
|
|
}
|
2010-02-19 00:28:20 +00:00
|
|
|
|
2011-06-14 17:25:27 +00:00
|
|
|
-keepclasseswithmembers class com.android.emailcommon.provider.Account {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getShortcutSafeUri();
|
2011-05-27 17:18:08 +00:00
|
|
|
*** refresh(android.content.Context);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.emailcommon.provider.Policy {
|
|
|
|
*** setAttachmentFlagsForNewPolicy(android.content.Context,
|
2011-06-14 17:25:27 +00:00
|
|
|
com.android.emailcommon.provider.Account,
|
2011-05-27 17:18:08 +00:00
|
|
|
com.android.emailcommon.provider.Policy);
|
|
|
|
*** clearAccountPolicy(android.content.Context,
|
2011-06-14 17:25:27 +00:00
|
|
|
com.android.emailcommon.provider.Account);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2010-03-22 22:01:33 +00:00
|
|
|
-keep class org.apache.james.mime4j.field.Field {
|
2011-03-01 22:20:19 +00:00
|
|
|
*** getBody();
|
2010-03-22 22:01:33 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
# The following classes are used only by unit tests.
|
|
|
|
# We should move them into tests/ if possible.
|
|
|
|
|
|
|
|
-keep class org.apache.james.mime4j.message.Message {
|
|
|
|
*;
|
|
|
|
}
|
2010-05-17 22:44:36 +00:00
|
|
|
|
|
|
|
-keepclasseswithmembers class org.apache.commons.io.IOUtils {
|
2011-03-01 22:20:19 +00:00
|
|
|
*** toByteArray(java.io.InputStream);
|
|
|
|
*** toByteArray(java.io.Reader);
|
|
|
|
*** toByteArray(java.io.Reader, java.lang.String);
|
|
|
|
*** toByteArray(java.lang.String);
|
2010-05-17 22:44:36 +00:00
|
|
|
}
|