55ab45ab3acaf50e2278675adea3cad051a55a4b |
|
19-Nov-2013 |
Yu Ping Hu <yph@google.com> |
Don't ping or sync if we're on security hold. We still allow FolderSync since that's one of the ways to clear the security hold. Also, correct a minor error in ping backoff logic. Bug: 11752556 Change-Id: Ide432ac5594dd02edab69677c2379865d602ed45
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
db1ca5f71ea90df7179b981c71f3ec757207b92e |
|
16-Nov-2013 |
Yu Ping Hu <yph@google.com> |
Don't modify the ping on the main thread. modifyPing makes DB & network calls, bad to do on main thread. Instead just issue a ping only sync request. Bug: 11715063 Change-Id: Id5219283fd70758a4e14ae1ca27024ef09b080ce
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
502ae63959c6a6253d05de8716417deef497392c |
|
14-Nov-2013 |
Martin Hibdon <mhibdon@google.com> |
Backoff if sync of a folder fails b/11636563 We still don't yet know why this particular command is getting a protocol error, but we at least should not instantly ping again, as this puts us in a rapid loop. Now, if sync on a folder fails for any reason, we will not immediately restart the ping for that folder's account. We'll set an alarm to wait for 5 minutes before starting the ping again. It makes sense to wait, if a sync fails, whether due to an IO error, authentication error, transient server error, it likely won't succeed only a half second later. It's good to back off a bit. At some later time maybe we should add a more advanced backoff policy, but for now holding off for 5 minutes will drastically reduce battery drain with a fairly low risk of introducing really bad new problems. Change-Id: I909dfcb8e6f4e10991cf15a2c08daab83dae97e7
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
3054f5a5cb02250643af387b9107780fcbc8ac25 |
|
19-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Ping fixes. - Clear the EasServerConnection's client whenever the ConnMan changes. - Restart ping on generic errors as well. Bug: 11249423 Change-Id: Ie6b661bec0f5d6176b01050201c514dca463aebf
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
d4726ae67e40e56d0b88b82e1ba2f3694a455430 |
|
18-Oct-2013 |
Alon Albert <aalbert@google.com> |
Merge "Handle User Refresh in Edge Cases" into jb-ub-mail-ur10
|
fa84f281d166cd7d43ca88adf89751ea9acfc51c |
|
18-Oct-2013 |
Alon Albert <aalbert@google.com> |
Handle User Refresh in Edge Cases Handle the following edge cases when a manual refresh is triggered: * No connectivity * Low storage space * Timeout (sync not started) Bug: 11241113 Change-Id: I7e8a415642e0a587070df641ca06a9922caa1621
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
c1e77ad19eb6e815cbb9f944b2e734bd40432928 |
|
17-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Do not trigger full sync on push_only requests. Bug: 11249423 Change-Id: I1285581bf9208b7ee222013d21e07eb9f8bb56e8
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
159ed4fd9cc3eea5b1e77c2ef099baf946988aa8 |
|
14-Oct-2013 |
Alon Albert <aalbert@google.com> |
Merge "Bring log change back in" into jb-ub-mail-ur10
|
1ffa39e2e858a9e058741f5480a610dfd07301b9 |
|
14-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Merge "Re-enable the ping kick." into jb-ub-mail-ur10
|
3eef378426c7c88608f53f5a268baed40259ccf6 |
|
14-Oct-2013 |
Alon Albert <aalbert@google.com> |
Bring log change back in Revert "Revert "Cleanup Logs"" This reverts commit a3f990ee76828d01e1e2812c4446221a1c523aa4. Bug: 11149133 Change-Id: I3fabb4e508cf9063e056979c8ed807ebf372fa4a
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
a3f990ee76828d01e1e2812c4446221a1c523aa4 |
|
12-Oct-2013 |
Alon Albert <aalbert@google.com> |
Revert "Cleanup Logs" This reverts commit fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175. Will re-merge this on Monday so we can still have logs from weekend testers Change-Id: I697eed2806a17a180a8733110391f44d3a80fc59
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
fcacd1e1e214f5f5b8aea0602e55ae6ca3bbf175 |
|
11-Oct-2013 |
Alon Albert <aalbert@google.com> |
Cleanup Logs Bug: 11149133 Change-Id: I736cb022bfd7f136f6e88010b91837f2aa3171f2
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
4ae24c02060fc3ce4d12e083f710c6d9998011a1 |
|
11-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Fix a bug I introduced trying to reduce excess pings b/11103878 I inverted the sense of a conditional Change-Id: I2a0b8a848539800304dcb90ff3e3a965b855b9a4
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
baa15392f32753fc1320b7215a22bff18a95ffef |
|
10-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Disable syncing of drafts folders b/11158759 Change-Id: Ia02dd8220de790b7ed4e4cb48b3a5f1ca3b203ce
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
2d926648d59ef70d04d832a1ef2d023ff45dfd72 |
|
11-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Re-enable the ping kick. Bug: 11121104 Change-Id: Id8d633965098cb94120367feca74f4df9062d7a1
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
4427badd747b7c172934014b9f95a1be1256f35a |
|
09-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Allow multiple mailboxes to sync at one time b/11103878 Change-Id: I6a3944c9171948d3f80bbb51294841a84cf409aa
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
41500ffe9d3ed7dbaa8e96fe8e825c7ed3d69140 |
|
09-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Do not assume that Exchange sanitizes its HTML. Bug: 11139503 Change-Id: Ifbc2f81298bcdde3f2e934588b1e8edb3bfc8a2c
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
77b653fa1b5baabddb76802f0333c78f80c29ace |
|
08-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Improve sync logic. - Always request FolderSync when the account hasn't synced yet. - Change the account broadcast receiver to only initiate FolderSync for accounts with all syncs disabled. - Add a mailbox type filter to ONLY sync calendar/contacts. Type filtered sync does not trigger FolderSync. - Do not sync non-enabled types when syncing multiple folders (i.e. for account sync, or for type sync). Bug: 11081520 Change-Id: Ic98e43a9fa3ed46d0597c348a5823d1accab7045
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
0b1a8c91bd3abe4390a7bec47600f96e441185f0 |
|
05-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Disable ping kick. This is a stop gap in case we have unsolved problems. Disable for current testing so we can find instead of masking the bugs. Bug: 11081520 Change-Id: I5aac8acefaa73e2ae901585af58a788cf2dcf8fa
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
6285ee2ecc9136238accd4ce7927b59cd95792ae |
|
03-Oct-2013 |
Yu Ping Hu <yph@google.com> |
Improve logic for when we start ping threads. Also adds the ping kicker, and improves a log message. Bug: 11081520 Change-Id: I9cc0088071a2a4e2beb03112a1f808146e576741
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
bbd7007ddd6a7e189afc01edda1d3778298d1adf |
|
02-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Merge "Handle errors on ping" into jb-ub-mail-ur10
|
0a2554fb7b7a72b51845d96fdb27ed6c83993c7a |
|
02-Oct-2013 |
Tony Mantler <nicoya@google.com> |
Merge "Remove duplicate capability" into jb-ub-mail-ur10
|
fd6f6be5f4bce2698083cec79ab0f6b0c48803be |
|
02-Oct-2013 |
Tony Mantler <nicoya@google.com> |
Remove duplicate capability Change-Id: I17fe1fa460dc5f117df897744d263d43663e568a
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
55f26fbb0146cd64a244510bfcb7dbb14569466e |
|
02-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
Handle errors on ping b/11030802 We now handle server errors > 100. Change-Id: I7103035fb43e708b0dabd87266e8fb8ad92d069f
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
9c7165d4c6b90101b781f90b17451efd42a17929 |
|
02-Oct-2013 |
Martin Hibdon <mhibdon@google.com> |
More logging improvements Change-Id: I023c8270647a63d1528aa86120fd4b14712ce345
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
5cc7ea3e24f1c05f71a3223ac6fa8b69d211735c |
|
28-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Exchange sync fixes. - When wiping a mailbox, supply the correct account object to requestSync. (Account#mAmAccount is actually null.) - When wiping a mailbox, don't treat it as looping. - Do not try to sync when the mailbox is not in the current account. Still not sure how we get in this state, but this is never a good thing to do. Bug: 10965484 Change-Id: I24cbc9985282e54386765139faf5ff8edfac8cd7
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
185672ab3d117a9e0fb8f76ef1faa2583efc7dad |
|
28-Sep-2013 |
Alon Albert <aalbert@google.com> |
Auth Notification Show a notification if a sync fails due to an auth error Bug: 10930585 Change-Id: I98dea0607cb73d0ce6b1a94b66d34f912172a8d4
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
2b398a4c98dd04cacfb44e9265fa13ae14947682 |
|
27-Sep-2013 |
Alon Albert <aalbert@google.com> |
Relay SyncResults Back To Sync Manager Bug: 10930585 Change-Id: Ibc82eed543ff1d63af2e6ae2fde014a012964a80
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
110837ebff288a75f9bda067c38e2c46797d99b5 |
|
27-Sep-2013 |
Alon Albert <aalbert@google.com> |
Unify Log Tags Use a single log tag Change-Id: I6f08c1eb6e84971cc21497ca14bf60860f75bab4
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
a566198cf9d66c63f89c2af3977cc426c94e7406 |
|
26-Sep-2013 |
Alon Albert <aalbert@google.com> |
Merge "Abort Ping Thread on Destroy" into jb-ub-mail-ur10
|
5550c7f729db4e1728b53a1d8a73083e756f3805 |
|
24-Sep-2013 |
Alon Albert <aalbert@google.com> |
Abort Ping Thread on Destroy Bug: 10855683 Change-Id: I01939c16c091ed1ebcf9a1c9a77524c3c40cf8ab
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
f2bfcf5e111fc8e29d2dc9765ef2b1826a7d125d |
|
24-Sep-2013 |
Alon Albert <aalbert@google.com> |
Start Service From onCreate Bug: 10855683 Change-Id: Ie60eae893c33ee36deefa6bd1f8815b9f9601176
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
24e1187f8511d301fa586759cd1b3bd5ad2ccf41 |
|
19-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Make sync adapters singletons. We saw multiple sync adapter objects concurrently, which is BAD. If service.onCreate got called while a sync was in flight, this could happen (and all evidence pointed to this being the case), so let's just not let that happen at all. Bug: 10150344 Change-Id: Ia914bd256aa05ccb86cfa5203e18df5a03aa34be
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
4cf04b79eeb69c8d6917635b5ecad79460af27f0 |
|
17-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Expedite sync for client folder sync requests. Bug: 10092560 Change-Id: I915509b203ede1ca2951bccbc8189188da014445
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
c640541ba09b4ecd88f4fa9603dc2d9d474e7996 |
|
13-Sep-2013 |
Yu Ping Hu <yph@google.com> |
Move upsync from EasMailboxSyncHandler to EasSync. Eventually EasSync should handle downsync as well, but the immediate task is to decouple upsync from downsync in EasMailboxSyncHandler. This move also fixes some upsync bugs. Also put EmailSyncParser in its own file. Bug: 10678136 Change-Id: Ie5e131a3f316176c203d275df35d3e8a8f9141c7
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
5f901d229dd30cc9ea66eda44fe0ee1ab3f146bd |
|
13-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Merge "Forcibly kill the exchange process when an account is deleted" into jb-ub-mail-ur10
|
be755d1832ce79b58f831aec08385e30c248f46d |
|
13-Sep-2013 |
Martin Hibdon <mhibdon@google.com> |
Forcibly kill the exchange process when an account is deleted b/10653370 Change-Id: I37f1422b374ba8e9eed9da7ec96ed7b6d2b51e6b
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
6f0cf29be849d3a95a9168cb6fa09de12635e818 |
|
23-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Add MoveItems operation. Change-Id: I39d7aeb2de4a01ec9237f574b752b57662829eb4
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
1e8e65ee854d2184597362f5b8b5332ca257c434 |
|
23-Aug-2013 |
Martin Hibdon <mhibdon@google.com> |
Stop the SyncAdapterService if no accounts b/10360861 If the service got into a running state, even if there were no exchange accounts on the device, it would automatically get restarted and never stopped. Now, even upon getting started, if there are no accounts, it will stop itself. It still automatically gets started up when the user enters the app, this is due to some code that processes services.xml to start up any services. That's okay for now, at least the service will get immediately destroyed if it's not needed. Change-Id: I7f62443fc5fa1e0a46cfbbea8d7b6792cdf0a6cf
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
b6ef78e8c4112d47d965b5b274d52fe8885f58fa |
|
20-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Make validation an operation. This entails also making an operation for getting the protocol version. Change-Id: I8b2855cca338e3dbd8b6826b2c428b9e418a675e
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
328ca0d959f7e729e96f19538c8f3af8fe782a09 |
|
14-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Change Provision & FolderSync to be an EasOperation. Provisioning should happen for any operation, so it needed to get moved to the new infrastructure. FolderSync got moved as the easiest way to test it. The current provisioning flow kinda sucks but it's the same as it was before and it works. Further cleanup can wait. Change-Id: I52ee9eff36777919f517854514ee9f838dc9d433
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
ff7e02603bc8196f411c0c491d74a42e747b7dc5 |
|
08-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Decouple operation management from EasServerConnection. This restructuring touches a regrettable number of files, but allows us to put common code in a common base class. (Before, it was messy because it would be muddled with the connection management code.) Specifically, we want common error paths to be handled in one place, although this isn't implemented yet. The new class of interest is EasOperation. This CL changes Ping to use this base class. Future changes will switch all operations to work this way. Change-Id: I1bd26336e8916cafe592352f8ee05616bce8181c
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
5928ffc5b48ada2e0edb37d21c8c7c92b5b290b7 |
|
07-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Add discard drafts capability. Bug: 10098652 Change-Id: Ib9ae05b9c460667a554e87e44715c58c817cead3
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
5586f9f5ab654ca93d797fa2a8cbc78a8d6970a4 |
|
02-Aug-2013 |
Yu Ping Hu <yph@google.com> |
Improve folder sync. - On initial sync, make sure that all required folders exist. - Enable sync for all syncable folder types. - Do not try to sync local-only folders. Some bugs exposed by this change: - Drafts synced from server are non-editable. - Deleting from trash is weird. Bug: 9987081 Bug: 9842867 Change-Id: Iddf1b16ee3977e89545ead3165a5847fdf90cefc
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
e2a704dca25a36ff177f9908b047602af8ddffe3 |
|
30-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Write sync status and time to provider. Also delete some uses of old callback mechanism since those are currently unused. Bug: 9842867 Bug: 8548657 Change-Id: I851205204c9d700998acee8575f096202b9f1140
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
e2788afb86984dae29255fd9c7e24c78d90dbdad |
|
30-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Delete most of IEmailServiceCallback. The old callback mechanism is being deprecated, and the only remaining user of this is attachment loading. In places where the callback was referenced in deprecated code (e.g. ExchangeService), the code was deleted with no attempt made to patch it up since the class is unused. Bug: 9842867 Change-Id: Ia92aa973fe8289759d1b88916d31d86e60a67faa
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
49fbbfca30a46ad63c0e079db4cc8a53fa99c28c |
|
20-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Merge "Implement deleteAccountPIMData." into jb-ub-mail-ur10
|
ea55e973f5820f03931143f8d2df413c70bf4284 |
|
20-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Implement deleteAccountPIMData. Bug: 9021105 Change-Id: I02bc366e15af4895b1a356d33100ab42c213438b
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
62c287af3bed45818accf595c56879ad5c57aaf9 |
|
18-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Implement sendMeetingResponse. Bug: 9021105 Change-Id: Ieee0da78687f651afce1875eb4f016d166777660
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
da835b7580108777bb0fa4a4d7287676a1cd7e53 |
|
16-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Fix attachment loading in Exchange. 1) For pre 2010 versions, attachment loading was 100% busted due to a null pointer. 2) Attachment status callbacks are now in theory happening correctly. Bug: 9735207 Bug: 9842867 Change-Id: Iddaab725b7411eecbfc7c35e9a4bc7214630b83c
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
359b3673e053a4f051997a809d8419c75f02c18b |
|
15-Jul-2013 |
Yu Ping Hu <yph@google.com> |
Add attachment callbacks part 1. This includes just the change to the aidl signature, and a small fix on tracking the result. The real fix is forthcoming. Bug: 9735207 Bug: 9842867 Change-Id: If9859b6e8425a6b3778c559cd34d5e0c22389675
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
87aa63eab6bb5abe86746d3f60c7ea1847393003 |
|
12-Jul-2013 |
Paul Westbrook <pwestbro@google.com> |
Shorten log tag lengths Bug: 9815409 Change-Id: I0bd088864108c9798ed1456467281976f48b3f88
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
ae6c69d73448bd4184724dfa351d17ca0cf378b2 |
|
28-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Fix Exchange ping. - Restart pings whenever the service restarts. - Improve the PingParser to handle all possible responses. - Do a better job of restarting after interrupt. - Add a way to request a "ping only" sync. - Tweak the POST timeout a bit. Bug: 9596786 Change-Id: I0f1f5ec23c94f2e3851fa5decae404be76b540bb
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
c35d2fa94faa0f9abeded869a01108bac2bcedcc |
|
26-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Fix Exchange attachment loading. Also, minor refactor with EasServerConnection ctor. Note: this implementation has (at least) 2 flaws: - It can run concurrently with sync, which is probably bad. - It doesn't do any status updates to the UI. There are bugs filed for these. Change-Id: I6c41842afbed45af7747a460010e49fa3010e2a5
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
456a6e3e01205e8c779930d8c7533b1c7467df5e |
|
20-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Fix account sync. We no longer specify sync intervals per mailbox. Instead, the account sync interval is always used, and each mailbox simply says whether it participates in that sync. This allows us to change "account sync" to mean that we sync all mailboxes that we are actively syncing (and push uses the same definition of which mailboxes to check). Also, this change implements "account only" sync. Change-Id: I528ef5f9f0b857fd2a31a95068ef1b5ff62a5a56
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
d696019364860f9ca3ef1d26031b1fca61042eaf |
|
21-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Fix some crashes. A DB query had an extra ")", and a null check was missing. Change-Id: I2f74510f870aad341d6bdd303ba7c2621025791f
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
ddbe7744f17d9dd0e26bc2d5a1e89aec9b031bdd |
|
17-Jun-2013 |
Yu Ping Hu <yph@google.com> |
Fix autodiscover. Bug: 9024095 Change-Id: Id64dc1728edad275a768a3f12e72bc3730b094b6
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
942b7d73f2f5b3d6c651e39463e615fe6902a910 |
|
06-Jun-2013 |
Scott Kennedy <skennedy@google.com> |
Unify LogTag There is now only one LogTag class. The static initializer of GmailApplication (existing), EmailApplication (new), and Exchange (existing) 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, .Exchange) 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: Ib565414fae51d0c3367370db9717aece45f7eb36
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
6e66ab513197793c34f5dcda159043da39224ff9 |
|
29-May-2013 |
Yu Ping Hu <yph@google.com> |
Initial fix for Contacts and Calendar. This comes in a few parts: - We can't use the same SyncAdapter service for all sync types, so for now this forwards syncs to the Contacts and Calendar services to the Email service. This should get cleaned up later. - Refactor EasSyncHandler to cover all the common code for syncing Exchange collections and adjust EasMailboxSyncHandler to match this change. - Implement EasSyncHandler subclasses for Contacts and Calendar. This is only a first pass -- for example, upsync is still not yet implemented. Change-Id: I722b540830b292bac4c79bf8426d8eec62112d9d
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
07b18456130cc6801b689b9eae33991afbe18617 |
|
30-May-2013 |
Yu Ping Hu <yph@google.com> |
Merge "Code refactoring, prep for contacts/calendar." into jb-ub-mail-ur10
|
d738c447d8597062f2f20ecb94b96e8bee12a531 |
|
30-May-2013 |
Yu Ping Hu <yph@google.com> |
Code refactoring, prep for contacts/calendar. - Move the mProtocolVersionDouble to base class, and clean up how it's cached. - Decouple outbox sync code from folder sync code. Change-Id: Ia160111ec644295773feb72533a01f8af3032a41
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
b3ee6545d55cd02161cb8acf054f3edbec02dacf |
|
30-May-2013 |
Paul Westbrook <pwestbro@google.com> |
Reconnect exchange search Bug: 9111546 Change-Id: Ic5099ac52df7a3a57f5485bb65c7a39712f84fbe
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
400d8d752257eb65632e8840f5912d933e386c99 |
|
24-May-2013 |
Yu Ping Hu <yph@google.com> |
Stop the sync service when no pushes are running. Change-Id: If2475f76df93d12a3b8c341a5c34c3bd5743d531
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
40350a7cea38385bc47eec399ae0d08aeeb01620 |
|
23-May-2013 |
Yu Ping Hu <yph@google.com> |
Merge account validator and sync. Change-Id: Ib2d52e594d0c30fd319f8941ed42086a390646b0
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
2177272932413dd434ed1a393b22f452dc38740a |
|
18-May-2013 |
Yu Ping Hu <yph@google.com> |
Add provisioning code, and use it to set up policies. Also includes a tweak to return protocol version during validation, and some incomplete comment cleanup. Change-Id: I7e609e1a3274a9e71a45349a7facc0d5c88c9565
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
bc96ce2b61336a99ce044dcb77d0c69ec9ddb718 |
|
17-May-2013 |
Yu Ping Hu <yph@google.com> |
Implement folder sync correctly. Change-Id: I9f9fde6bf2f991873a04360be43ee669a97cc1dd
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
bc278f1e81ef1d44c28093e830ebe84faa960843 |
|
17-May-2013 |
Yu Ping Hu <yph@google.com> |
Implement Exchange account validation. Change-Id: I447846010e62354a53dff8c6626757bea5197a7c
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
b6503ab0ba4f4e323fb09e6522cd7c898ea3431e |
|
17-May-2013 |
Yu Ping Hu <yph@google.com> |
Refactor code that talks to EAS server to new base class. Two reasons for this: 1) It lets us decouple Ping from the SyncHandler family. 2) Account validation also needs these functions but shouldn't be a SyncHandler. Change-Id: I0c56ead551d3c3cdc34c2c78e3bad62fad8be25b
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
5f6b6438ebb60e3eb00731ab13083d393a302ed9 |
|
14-May-2013 |
Yu Ping Hu <yph@google.com> |
Migrate push to new architecture. The most interesting part of this change is the new code in EmailSyncAdapterService to handle sync issues between pings and syncs. Most of the EasPingHandler is adapted from EasAccountService. The other big piece is the migration of the IEmailService to the EmailSyncAdapterService. After this change, there is still cleanup for error paths and cauterizing the old ExchangeService to be done. Change-Id: I3a5cca8bdc51dad80cb2e83e09562fec8d05d235
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
c9e47f85203da0ea3b6e9a49aa2007d1fc6f0814 |
|
08-May-2013 |
Yu Ping Hu <yph@google.com> |
Cleave sync adapter from ExchangeService. All manual syncs now go through the system sync manager, with no involvement of the SyncManager or the ExchangeService (hopefully). Push is not yet properly implemented in the new way. Change-Id: I62477ff963016f878e244144d5ebbebce7fe2521
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
9696d7f701599644d1c108863d6195af88da2c30 |
|
01-May-2013 |
Yu Ping Hu <yph@google.com> |
Refactor common sync adapter code. Change-Id: I548d4657f31b04f4f944c5e54207523aeeeafe09
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
d7fa6b782093f91066b3fcbdb48c7ee47a685012 |
|
30-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Code cleanup. - Remove some dead code. - Add some @Overrides where needed. - Remove some unnecessary throws declarations. - Clean up SyncAdapters to not use statics and locks. Change-Id: I0dcfa159ea0535d726d9f943196d127b6c4c13cc
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
0b90e8d0cebf3e40c894f2e84b8cd3aa82d83765 |
|
24-Apr-2013 |
Yu Ping Hu <yph@google.com> |
Route all syncs through system SyncManager, part 1. This change deprecates IEmailService.startSync and handles all syncs in the AbstractSyncAdapterService instead. Change-Id: I333e7c0f43c43681762a69d2b80839c0576094a9
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|
bbafcf7dbcb92063aa207113451c1d29235bc5dd |
|
10-Sep-2012 |
Marc Blank <mblank@google.com> |
Make sure EmailContent.init() is called on startup * If the app is started via a SyncAdapterService, this wasn't happening Bug: 7133858 Change-Id: I5e6fdaa35d1f77161420d068759d07ee84a7c28d
/packages/apps/Exchange/src/com/android/exchange/service/EmailSyncAdapterService.java
|