4c865846856cd7530fb51e244a9971a3d5e1fcd8 |
|
08-Aug-2014 |
Tony Mantler <nicoya@google.com> |
Don't return a protocol for a null account type b/16735532 Change-Id: Ie83709fe3a9942ef946cf86f853b3d6565dc5799
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
751da261722f6b8964c9a4f4b198aeb730addb50 |
|
31-Jul-2014 |
Tony Mantler <nicoya@google.com> |
Add Exchange fallback and support diverting to Gmail b/16679701 Change-Id: I59d7cb4a803f0ad8e782614d0c6cc635318d2375 (cherry picked from commit d039322f7402ef402eb66c92b899510dd6649e2d)
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
ebe49cfeaf0328aa95f5cb82b731f08d7bae7b09 |
|
28-Jul-2014 |
Anthony Lee <anthonylee@google.com> |
b/16570506. Only enable alternate EAS authenticator when needed. The old code was turning on both the EAS authenticator and the alternate EAS authenticator (with the offending string). Now it turns on the right one depending on the VendorPolicyLoader. Change-Id: I69945e695f28fdb8bd33bf49ee253a354c05b30c
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
aaa26e8c3f5c8b56e0a8b5b21916a188c051f737 |
|
25-Jul-2014 |
Martin Hibdon <mhibdon@google.com> |
Merge "Disable Eas Authenticator if Exchange is not installed" into ub-mail-master
|
74dc106ae9ff3d3a92425b68ea28ee2a0b258e57 |
|
25-Jul-2014 |
Martin Hibdon <mhibdon@google.com> |
Disable Eas Authenticator if Exchange is not installed b/16541219 Change-Id: Ibc2a9608278762e6af4f7c429b08ad38935bfcae
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
20110e628830a906f4c6a80eabb0bb127bf7d4be |
|
24-Jul-2014 |
Anthony Lee <anthonylee@google.com> |
Factor out the guts of setupAccountManagerAccount() The new function will be called by the old function but it also allows me to use it from the Migration code. Change-Id: If9b2ad82479d60c63e8924d42fb6ce18d7d9a2f8
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
7afbeee47e1a82680c815f2fb8cfdba32d6b0b84 |
|
11-Jul-2014 |
Martin Hibdon <mhibdon@google.com> |
Update IEmailService Add version support Change deleteAccountPIMData to deleteExternalAccountPIMData. Data kept inside the EmailProvider can be deleted from within the Email app. Only external data (e.g. contacts and calendar) need to be deleted by the service which has protocol specific knowlege. Change-Id: I875d3051d0cfdbaf52775ec20eb114a345894a93
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
1d8fd9c05449863ac6a151a6db87c267c4f55ac2 |
|
02-Jul-2014 |
Martin Hibdon <mhibdon@google.com> |
Add communication class for HostAuth We want a separate class for communicating HostAuth objects to and from IEmailService. The issue is that the HostAuth object was being used for both to and from the database, and to and from IEmailService. This is dangerous because The Email app may change out of band with the Exchange app, and may need to change the format of HostAuth. This bit us before when adding OAuth. Now communication to IEmailService is done using HostAuthCompat. Change-Id: I2fb8c2bd8158f58a7bb9bc3dc83a7936948c718c
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
fb2a3a2f77f954265beaa92b87774006e2d7c185 |
|
12-Jun-2014 |
Martin Hibdon <mhibdon@google.com> |
Update IEmailService This is not yet finalized, but it's needed to fix push syncs on exchange. Change-Id: Iaff20aa0bdea9685ef6603de1f861d58fbab6ff1
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
163323294e20f620931ae531cc927ae3932cb368 |
|
22-May-2014 |
Martin Hibdon <mhibdon@google.com> |
Change IEmailService.sync to have two different forms Change-Id: Id8e770154d6116b02746cbdfb8c7cdc9358398de
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
c5f5a14ae9095f76d8e8c411cfd8f8e0e8970aa2 |
|
21-May-2014 |
Martin Hibdon <mhibdon@google.com> |
Revert "Get rid of deleteAccountPIMData from IEmailService" This reverts commit cf2178c4fa61538f5a2f862fe3f9bc16b9f06ebb. Change-Id: I9b05dd7a29a2d2edf64529ca28e2305737a43115
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
cf2178c4fa61538f5a2f862fe3f9bc16b9f06ebb |
|
21-May-2014 |
Martin Hibdon <mhibdon@google.com> |
Get rid of deleteAccountPIMData from IEmailService This doesn't need to be part of the service because the implementation doesn't need to be different between any of the different protocols. Change-Id: Ifddf16dd3ccaf397029f08f6d4283d9a5630f717
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
84e010a463ea5c006d55b7e32268fed40e40262f |
|
06-May-2014 |
Tony Mantler <nicoya@google.com> |
Clean up logging b/14590064 Change-Id: Ib841ebecae339690c143eaf356eced58d9ac5372
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
3dd85723a1af5537e23e4b05bdc361cce9cd42be |
|
11-Apr-2014 |
Tony Mantler <nicoya@google.com> |
Cleanup in EmailContent Change-Id: Ifa251eb206779f59ea003f99395d454c7e407bc2
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
8103f960d0c0469d67652afd616e9924687aa139 |
|
26-Feb-2014 |
Yu Ping Hu <yph@google.com> |
Add sync to IEmailService. This supports the EasService design. Yes, I just removed a startSync function from this interface last month. No, I didn't quite know at the time that I'd be adding one back. :) Change-Id: I19d9c7838473d8982560764fdba0056cba03d132 (cherry picked from commit 4a5b11d650ff6bd79da1dfecc137af3433ce6ca8)
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
70cb2878d72ce1c1775ac0426ff82698a5e59377 |
|
26-Feb-2014 |
Anthony Lee <anthonylee@google.com> |
Changed the IEmailService interface to accept and accountId in the loadAttachment() call. This work was necessary to support the new EasService & EasOperation infrastructure. Change-Id: Idd507aec999596ccd4afa5f03ff2b3c2e38a9029 (cherry picked from commit efac8255ed75d22e60036e19e7a95f8407d18ad3)
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
701134953e4591bf2cca020838558a97eab570a1 |
|
25-Feb-2014 |
Yu Ping Hu <yph@google.com> |
Add pushModify to IEmailService. This call lets the service know that the push settings for an account have changed. Change-Id: I7ed41853df6af6762c80283a2a3510ce41551657 (cherry picked from commit 446136a2278652c627068ecddff534de1ad431ab)
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
f679cd08d179645b5131d2cfdaa70fa42bb778c0 |
|
30-Jan-2014 |
Yu Ping Hu <yph@google.com> |
Delete unused functions from IEmailService.aidl. Change-Id: I131d2d3436a50c94d664fc57c6514481d9afbc97 (cherry picked from commit 8ff6c107867bc2044ba50cad010dbf4a2e93436e)
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
53b64eee54cdb74dc325089b8362a6ff4811759e |
|
14-Mar-2014 |
Tony Mantler <nicoya@google.com> |
Skip protocol choice if user entered from system account manager b/13475223 Change-Id: Id1ec6259e2b3880f9ce83ffe7795c40aa069466e
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
9195a1202483053606f43e871915a5405e955306 |
|
22-Jan-2014 |
Martin Hibdon <mhibdon@google.com> |
Create AuthenticationFragment This is one fragment that holds all types of authentication information, e.g. password, OAuth info, and client certificates. What gets displayed depends upon the type of account it is dealing with. So far this is only used in AccountSetupIncoming, but later it can be added to other settings fragments. There are still some issues with this, but I'd like to check it in sooner than later to unblock other work. Change-Id: Iea675ad5c1727f32ca0baa270dfa793ab7109993
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
ae46818a1925cc22fe20ee26ffee8779561a903b |
|
29-Oct-2013 |
Alon Albert <aalbert@google.com> |
Disable Move Actions for POP3 Folders Bug: 11311812 Change-Id: I5813281cca76b9b4a373b5b40dbbd1909800f951
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
3a8c86b18265eb3786bf32b5c043b5942ddb4e45 |
|
11-Oct-2013 |
Tony Mantler <nicoya@google.com> |
The ServiceMap caches locale-dependent strings. Destroy it on configuration changes. b/10785115 Change-Id: I39df8a002cafdbaf4d41c9916d62a79a03d48804
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
3aad3fcb8bb916c989fe67cfbf527eb0df6fc6d1 |
|
25-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Move calendar and contacts to the new account on upgrade b/10805685 Change-Id: I08de135f166ad10812c9318efe649694e5c448d0
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
aad690f699f61793facecc950d3d060baa62fd45 |
|
21-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Improve display of attachments in pop b/10714298 This is related to this CL in UnifiedEmail https://googleplex-android-review.git.corp.google.com/#/c/363626/1 Change-Id: Idea2827791ed52e7558b11aaea07b1f3f1764db5
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
7d6d8c87f86a17cae59af645637458b17e72c716 |
|
18-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Clear exchange sync keys upon app upgrade b/10211620 The problem here is that on app upgrade, we need to change the types of all email accounts. To do this, we have to create new accounts and delete the old ones. This resulted in calendar and contacts data getting deleted. But we were copying over the last sync keys from the old account, so on the next sync, we would only get new data. This means that all of the data that we had gotten on a previous sync would never be sent again, so calendar events and contacts would be missing forever. Now, we just don't migrate the old sync keys. This means that on the next sync, we'll get all data, and restore our original state. This is still not ideal, because it means that any locally created data that has not yet been synced will be lost (b/10805685), but it's much better than it was. Change-Id: I150c4dbdf490a8f3880261e2469795896ebfeab5
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
24bb2dabd9dd7d8bd39fed53f312ae6034e373bb |
|
13-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Kill the process when an account is deleted. b/10653370 This prevents NPEs if a serviec happens to still be running when an account is deleted. This mirrors a similar pattern in the gmail app. Change-Id: I6fd8ae5ffe41580df0a321ec22535403e3f32eee
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
e4ac06080ba8b8e57531982ea290354b1a9a4305 |
|
28-Aug-2013 |
Paul Westbrook <pwestbro@google.com> |
Don't use implicit events Bug: 10189773 Change-Id: I4579f2e465bd23b8ab4cdf291bfbe80cf6518328
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
b5eed31d1bdfcb8e8b316c9c49331295718001bd |
|
09-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Synchronize all access to the EmailServiceInfo map. Bug: 10255995 Change-Id: I36bee575a923b5c8bfbaea7babdf9f2c5e9bd378
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
2075c97f608a853923980865b72147a5c8ef71f0 |
|
30-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Delete most of IEmailServiceCallback. The old callback mechanism is deprecated, in favor of making calls on the ContentProvider. Bug: 9842867 Change-Id: I65f559e593cda24456c4ffb96f785e054626dd0b
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
48b14fde961ef57103f7a31196254e357987f203 |
|
25-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Fix all periodic syncs on upgrade. Bug: 9844218 Change-Id: Ibacb309752b076faa3f96b5ad57dc121efd79bcb
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
02f0b1eee8f5de651ad5f0289146f88fea99bce0 |
|
27-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Remove MailService. Change-Id: Ibffd0c9fb0eed4822dff28d1577fb455736cffd1
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
47bcb5a21a20ad59035ec4218e24cd45f1d49667 |
|
27-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Cleanup service loading. Authenticator upgrading no longer uses the services file to specify upgrades, so we can remove the fields associated with that functionality. Change-Id: I2122f18614d714a3d5a565fb4a6a547ddc010b6f
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
462da178b1be608a74000956c53dc8ecb438c689 |
|
23-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Move authenticator upgrade to app upgrade time. This used to run when the app first initializes the service map. Bug: 9391930 Bug: 9971936 Change-Id: Iebaeb2dc94ef62edb0be0a7d5a008a26c4f5edfb
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
9a1f00bee4c50c128df320a3795cfc8295d5e011 |
|
20-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Change deleteAccountPIMData to take emailAddress, not id. By the time the remote call actually runs, the account may be deleted from the DB, so the account id is likely useless. Bug: 9021105 Change-Id: If28b4b8c4b5c52be35c6ff68b326c4ea28d7f7b4
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
d5acf0bbc00cbe9a2c075e1bd4825ccbd9851d8d |
|
15-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Explicitly pass a callback when loading attachments. This is part of moving away from the explicit setCallback, which either has race conditions or is very noisy, or both. (Each IEmailService call that wants callbacks should just pass the callback explicitly.) I'm not yet changing how the services actually handle the call. Each protocol will need to fix this on their own. Bug: 9735207 Bug: 9842867 Change-Id: If8cf69ffe82f3544ace9e58b1db5a183f38d038a
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
560bfadc3151f7a06f3b06e9a6c92cfa534c63ec |
|
26-May-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag There is now only one LogTag class. The static initializer of GmailApplication (existing) and EmailApplication (new) will now set the log tag to "Gmail" and "Email", respectively. Up until that code is run, it will be "UnifiedEmail". "setprop log.tag.Gmail VERBOSE" (or .Email) will trigger all logs to be printed as long as they go through LogUtils, regardless of what tag is used by that individual log. This lets us still turn on logging everywhere in one command, but also lets us use more descriptive tags (like the class name). And since we no longer have three com.android.mail.utils.LogTag classes, builds will be much easier. Also, we now use LogUtils everywhere. Change-Id: I55f1c7a66ce50ead54877a13e40256422a56dc39
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
17d5bbf768c27ac7782b155e2ab25bcd480f5dcf |
|
05-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Improve mailbox sync and load more. - Update syncTime for IMAP and POP whenever we sync. - Change load more to simply include the delta in the RPC rather than using the visibleLimit column. - Add a query to get the message count for a Mailbox. - Refactor code for updating totalCount and determining the new message count when syncing. - Remove dead code from Mailbox. - Remove uses of visibleLimit from code. Note that visibleLimit and messageCount in Mailbox table are no longer useful and will be removed in a later change. Bug: 8579767 Bug: 8523146 Change-Id: Ieb67e3b6f1c82c3b21b972c5a1e557cd75dc21db
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
32881e8dd375f16e6059452166503f7136f14ae5 |
|
05-Mar-2013 |
Paul Westbrook <pwestbro@google.com> |
Fix NPE after migrating older account Change-Id: Ifeb3b1853ce3efd725227941103d29a00bc14fc2
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
5c523858385176c33a7456bb84035de78552d22d |
|
20-Sep-2012 |
Marc Blank <mblank@google.com> |
Restore Imap1 * Restore Imap1 code * Legacy users will use Imap1 * Existing Imap2 users will continue to use Imap2 * New accounts will be created in Imap1 * More to follow Bug: 7203993 Change-Id: I8b86fcada59a854fd464d5269c94d00ebae85459
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
323954df41bb71076d11f52df6275a57ab2fd4dc |
|
09-Sep-2012 |
Marc Blank <mblank@google.com> |
Merge "Create requireSetup attribute; use it for gImap" into jb-ub-mail
|
81b0f74efa39d80b0aa18686c96499faf0e2691f |
|
08-Sep-2012 |
Marc Blank <mblank@google.com> |
Create requireSetup attribute; use it for gImap Change-Id: Id5f37861e4d6f2c2ed0fe98bd8b4d7eb73868c09
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
af092bd5f850653b0d237fb55ccc896f74dc7982 |
|
08-Sep-2012 |
Marc Blank <mblank@google.com> |
EmailProvider dump Change-Id: Id975c99427b41f4a56235dc6ba5ad515d6700fe5
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
b82ae909d7514bf06090ee3a120aef2154ab0296 |
|
24-Aug-2012 |
Marc Blank <mblank@google.com> |
Add support for "load more" for Imap2 * Use new attribute in services.xml to indicate support * Initial implementation Change-Id: Ia8709d606d521c6d495c343a47ee074b5024d340
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
e714bb9d153cfe13a7f0932e7d67ea08fa5a1d98 |
|
23-Aug-2012 |
Marc Blank <mblank@google.com> |
Convert authorities, intents, and account manager types * Tested ok on wiped Nexus * Tested ok on S3 * Upgrade verified on Nexus Change-Id: If5d4ce594f8a309cdb59589d10b1d33f3b79326c
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
70edcf05387df33f4761b766add6b80999e425e9 |
|
22-Aug-2012 |
Marc Blank <mblank@google.com> |
Integrate Imap2 into Email * Also, convert imap accounts to imap2 * The original imap service remains, but is no used * There remain some questions about how the upgrade should work in terms of settings Change-Id: I0e05edad6a1553f428a2c2fa3daf1df878d4b5f7
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
b89744ecfb92a4b8fc66a23b942531d39910de44 |
|
16-Aug-2012 |
Marc Blank <mblank@google.com> |
Use appropriate prefix to infer server address Bug: 6999072 Change-Id: I71aa184b1cfa0b6926f4dae8861f071f27d3acb2
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
cf3b3ae987e73453f2265673a7ba3a72a1a6b4ed |
|
16-Aug-2012 |
Marc Blank <mblank@google.com> |
Prevent NPE while getting service Bug: 6989095 Change-Id: I646e393ec77a2e31c92011868f705e0936e41d88
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
0b5f15d61ebf7c0e8428100637bc479ed93a4cb2 |
|
25-Jul-2012 |
Marc Blank <mblank@google.com> |
Make sure account capabilities get set properly in UIProvider * Change getCapabilities API to take an account, rather than the id of the account * getCapabilities() can therefore execute even before Exchange is fully up and running Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
54b6b8b072100551c1820d679108bd8356a0c8be |
|
20-Jul-2012 |
Marc Blank <mblank@google.com> |
Prevent CME w/ sServiceList Bug: 6854037 Change-Id: I0b9aadfa0b347c62bf8a3b0c5ec88330871cce2d
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 |
|
28-Jun-2012 |
Marc Blank <mblank@google.com> |
DO NOT MERGE: Move emailcommon2 sources to emailcommon Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
03cd72805dab0379ed255d151f1c17cc60655fc3 |
|
25-Apr-2012 |
Marc Blank <mblank@google.com> |
Revert to old Email app * These are the last sources in the ICS-MR1 tree Change-Id: Ida4651bddd92a06a518d00f3e1f275ab3a80c8ae
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
e1a6088ee4e3f0e4344dd9bc38029b6d01431eab |
|
02-Mar-2012 |
Marc Blank <mblank@google.com> |
Don't try to refresh combined inbox Bug: 6022440 Change-Id: I182c0da80debff5579b850c20015253864a0cf9f
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
4f813fb12937de74d3ccec730b8de0c9de7a87e0 |
|
14-Feb-2012 |
Marc Blank <mblank@google.com> |
Convert POP3 to service * Remove MessagingController and (almost all of) MailService Change-Id: I8953b58b237de6a71fda770f1727bd94081fec55
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
c84467afe1b5e0a657ed7d6a9fa1e3fe1ff259a0 |
|
09-Feb-2012 |
Marc Blank <mblank@google.com> |
Start of IMAP conversion to Service architecture * Handle startSync and loadMore * Use SyncManager rather than MailService for periodic sync and upload sync * First of many CL's to disentangle sync from UI * Note that the large majority of this CL is a refactoring of IMAP specific code out of MessagingController and into ImapService; MessagingController will eventually be removed entirely from the app, as will much of Controller Change-Id: I13546d0694479b33cf93c25920dedc1d38227f6c
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|
66a47b8dac5e97e37c30b928bc5a227d74baada9 |
|
27-Jun-2011 |
Marc Blank <mblank@google.com> |
Clean up/simplify ExchangeUtils/ExchangeStore * Rename ExchangeUtils to EmailServiceUtils * Create calls for Exchange to use (eventually remove these) * Get rid of lots of nonsense in ExchangeStore Change-Id: Ic538cfe1de57eca24088ee1f590264283d12f511
/packages/apps/Email/src/com/android/email/service/EmailServiceUtils.java
|