2010-02-19 00:28:20 +00:00
|
|
|
# keep names that are used by reflection.
|
|
|
|
-keep class com.android.email.provider.EmailContent$Account
|
|
|
|
-keepclasseswithmembers class * {
|
2010-08-09 17:36:50 +00:00
|
|
|
public static void actionEditIncomingSettings(android.app.Activity, int, com.android.email.provider.EmailContent$Account);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
2010-08-09 17:36:50 +00:00
|
|
|
public static void actionEditOutgoingSettings(android.app.Activity, int, com.android.email.provider.EmailContent$Account);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public *** newInstance(android.content.Context, java.lang.String);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class * {
|
|
|
|
public *** newInstance(java.lang.String, android.content.Context, com.android.email.mail.Store$PersistentDataCallbacks);
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.GroupMessagingListener {
|
|
|
|
*** removeListener(com.android.email.MessagingListener);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.Controller {
|
|
|
|
*** setProviderContext(android.content.Context);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.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);
|
|
|
|
*** legacyUnpack(java.lang.String);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.SecurityPolicy {
|
|
|
|
*** setContext(android.content.Context);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.SecurityPolicy$PolicySet {
|
2011-02-08 01:27:43 +00:00
|
|
|
<init>(com.android.email.provider.EmailContent$Account);
|
|
|
|
<init>(int, int, int, int, boolean, int, int, boolean);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.MessagingController {
|
|
|
|
*** injectMockController(com.android.email.MessagingController);
|
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.Utility {
|
|
|
|
*** dumpCursor(android.database.Cursor);
|
|
|
|
}
|
|
|
|
-keepclasseswithmembers class com.android.email.Utility$CloseTraceCursorWrapper {
|
|
|
|
*** getTraceIfAvailable(android.database.Cursor);
|
|
|
|
*** log(android.database.Cursor);
|
|
|
|
}
|
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.provider.EmailProvider {
|
|
|
|
*** getReadableDatabase(android.content.Context);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.provider.EmailContent$Attachment {
|
|
|
|
*** createUniqueFile(java.lang.String);
|
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.service.AttachmentDownloadService {
|
|
|
|
*** addServiceClass(long, java.lang.Class);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.service.AttachmentDownloadService$AccountManagerStub {
|
|
|
|
*** setNumberOfAccounts(int);
|
|
|
|
}
|
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.Account {
|
|
|
|
*** getContentUri();
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.Preferences {
|
|
|
|
*** getAccountByContentUri(android.net.Uri);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keep class com.android.email.mail.Message$RecipientType
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.Message {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** setRecipient(com.android.email.mail.Message$RecipientType, com.android.email.mail.Address);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.internet.MimeMessage {
|
|
|
|
*** writeToString();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.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
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.internet.MimeUtility {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** foldAndEncode(java.lang.String);
|
|
|
|
*** findPartByContentId(com.android.email.mail.Part, java.lang.String);
|
|
|
|
*** findFirstPartByMimeType(com.android.email.mail.Part, java.lang.String);
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.transport.SmtpSender {
|
|
|
|
*** setTransport(com.android.email.mail.Transport);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.Store {
|
|
|
|
*** requireStructurePrefetch();
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.ImapStore {
|
|
|
|
*** setTransport(com.android.email.mail.Transport);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.ImapStore$ImapFolder {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getMessages(int, int, com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(java.lang.String[], com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getUnreadMessageCount();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.Pop3Store {
|
|
|
|
*** setTransport(com.android.email.mail.Transport);
|
|
|
|
}
|
|
|
|
|
|
|
|
-keepclasseswithmembers class com.android.email.mail.store.Pop3Store$Pop3Folder {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getMessages(int, int, com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getMessages(java.lang.String[], com.android.email.mail.Folder$MessageRetrievalListener);
|
|
|
|
*** getUnreadMessageCount();
|
|
|
|
*** isOpen();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keep class com.android.email.mail.Flag
|
|
|
|
|
2010-02-19 00:28:20 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.mail.Folder {
|
2011-02-08 01:27:43 +00:00
|
|
|
*** getUnreadMessageCount();
|
|
|
|
*** delete(boolean);
|
|
|
|
*** getRole();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
-keep class com.android.email.mail.Folder$FolderRole
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.mail.PackedString$Builder {
|
|
|
|
<init>();
|
|
|
|
<init>(java.lang.String);
|
|
|
|
*** get(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-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.email.provider.EmailContent$Account {
|
|
|
|
*** getShortcutSafeUri();
|
2010-02-19 00:28:20 +00:00
|
|
|
}
|
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.exchange.adapter.Parser {
|
|
|
|
*** resetInput(java.io.InputStream);
|
|
|
|
}
|
2010-02-19 00:28:20 +00:00
|
|
|
|
2011-02-08 01:27:43 +00:00
|
|
|
-keepclasseswithmembers class com.android.exchange.provider.GalResult {
|
|
|
|
*** addGalData(com.android.exchange.provider.GalResult$GalData);
|
|
|
|
*** addGalData(long, java.lang.String, java.lang.String);
|
2010-03-02 22:03:08 +00:00
|
|
|
}
|
2010-03-22 22:01:33 +00:00
|
|
|
|
|
|
|
-keep class org.apache.james.mime4j.field.Field {
|
|
|
|
*** getBody(...);
|
|
|
|
}
|
|
|
|
|
|
|
|
# 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 {
|
|
|
|
*** toByteArray(...);
|
|
|
|
}
|