diff options
author | Todd Kennedy <toddke@google.com> | 2011-04-19 11:32:06 -0700 |
---|---|---|
committer | Todd Kennedy <toddke@google.com> | 2011-04-20 08:31:24 -0700 |
commit | a50fc99b0c433f0cde31ba1c7ab87fb9ea86345d (patch) | |
tree | f5963f60df5e33fef8569a9137a1ce90597bb02e /proguard.flags | |
parent | ba7652cda04d428ae7959f8bf6cbc6efe028bfce (diff) | |
download | Email-a50fc99b0c433f0cde31ba1c7ab87fb9ea86345d.tar.gz |
Use Account instead of URI to create transports
There's no need to create a URI just to rip in appart again. Additionally, to
support additional changes (i.e. to use Mailbox instead of Folder in the
MessageController), we need to store the actual Account.
NOTE -- This change only affects IMAP and POP3. SMTP will come in a follow-on CL
Change-Id: I400036a17271c99272fd9c603547dcd713b50b9d
Diffstat (limited to 'proguard.flags')
-rw-r--r-- | proguard.flags | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/proguard.flags b/proguard.flags index d1ebcb8f8..7ed8d21de 100644 --- a/proguard.flags +++ b/proguard.flags @@ -13,10 +13,15 @@ public *** newInstance(android.content.Context, java.lang.String); } +# TODO remove after converting Sender#instantiateSender() to use Account instead of URI -keepclasseswithmembers class * { public *** newInstance(java.lang.String, android.content.Context, com.android.email.mail.Store$PersistentDataCallbacks); } +-keepclasseswithmembers class * { + public *** newInstance(com.android.emailcommon.provider.EmailContent$Account, android.content.Context, com.android.email.mail.Store$PersistentDataCallbacks); +} + -keepclasseswithmembers class android.content.SharedPreferences$Editor { *** apply(); } @@ -144,7 +149,7 @@ *** setTransport(com.android.email.mail.Transport); } --keepclasseswithmembers class com.android.email.mail.store.ImapStore$ImapFolder { +-keepclasseswithmembers class com.android.email.mail.store.ImapFolder { *** 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); |