47b5e0eb42afd02cb933ee3ed0d6c917056b744d |
|
08-Oct-2014 |
Martin Hibdon <mhibdon@google.com> |
Update PingSyncSynchronizer logging Now every line contains the accountId, so it's easier to keep track of what is going on when you have multiple accounts. Also, improve logging surrounding security hold. It was behaving correctly, but the logging was alarming. b/17889874 Change-Id: Id9bfa6e4227de3baf4b45843cda0881a0f53f0f8
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
1e2a913eb7bd5b30ad4098582c31ba9c6b40efb5 |
|
06-Oct-2014 |
Martin Hibdon <mhibdon@google.com> |
Fix ping upon account creation b/17708011 Change-Id: I46643a6c15f85b93bcc6aeb5c0d90a0f0bd2cd4b
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
29df1a2f769cefedf8ec84403b5dc1384d3cb551 |
|
03-Oct-2014 |
Martin Hibdon <mhibdon@google.com> |
Enable the automatic hourly ping kick Change-Id: I982799add7c6fdf8d68b949321f22cddf9607f93
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
00b19ea330a5e2a991d1a28d7913ec125c82400c |
|
01-Oct-2014 |
Martin Hibdon <mhibdon@google.com> |
Add more logging to track down b/17708011 b/17708011 Change-Id: I0d6833ddcc9c76d37c2be0616a8daee36f4fad23
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
53d15f1321d19432c88de34e57218a5f51eaf3dc |
|
01-Oct-2014 |
Martin Hibdon <mhibdon@google.com> |
Fix a bug with the delayed ping not being restarted b/17708011 Also, improve logging, and enable the automatic hourly ping kick as a fallback. Change-Id: I9b8f1433fe02cd9346616d2ff67a1580b8c28e10
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
451160bfda22734f7b33106edfa4a6ce19b62121 |
|
11-Aug-2014 |
Martin Hibdon <mhibdon@google.com> |
Restore automatic ping and backoff on error functionality This functionality was lost when I converted to use EasService for syncing. Now it's back. This means that: 1. We will always have a ping that is scheduled to run every hour, so even if the regular ping is lost due to some code error, we'll start it again within the hour. This code is currently disabled so that we will be able to test and discover if pings are being lost. If they are, and we can't figure out why, then we can enable this code. 2. If sync fails due to some error, we will not start the ping immediately. Instead we'll wait five minutes and then restart it. This keeps us from rapidly spinning and burning the battery in cases where the server is misbehaving. Change-Id: I26e74a198a9dd6c87401079d048b5918d4869b50 (cherry picked from commit 85c66ca12d7debfbbcfc0a3cc3afab1673577d50)
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
c9e6e7587ac847c6b99d91097f8e1bc64e9e56da |
|
03-Mar-2014 |
Anthony Lee <anthonylee@google.com> |
Fill out implemenation of PingSyncSynchronizer. This class is not enabled yet as it is utilized by EasService. Change-Id: Iba3faef51df89b7fd103f43a33d7a401466a344c (cherry picked from commit 53d0286f850eaec90f7f16ce17d3cb2e8c87eb3f)
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
dd316c9ade8257b2489c78fa3eb2763c9042b5dd |
|
24-Feb-2014 |
Yu Ping Hu <yph@google.com> |
Flesh out EasService some, and start using it. - Fix some of the TODOs. - Add it to the manifest. - Route some operations from EmailSyncAdapterService to it during testing/development. Note that this last bit is a bit Frankenstein right now, so it's guarded by a constant (which should stay false when checked in) and in no way will an account function "normally" during the transition. Change-Id: I52e5500c7eac1999963712f3bd96d114f9afc3ed (cherry picked from commit c3ad5a3c532b60f73ff7337f0962211a6f14b919)
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
468ff529b5c80605a62d6fc7ecf87a8db46ea366 |
|
21-Feb-2014 |
Yu Ping Hu <yph@google.com> |
EasService fixes & improvements. - Make sure to call EmailContent.init. - Add function to determine if an account needs to ping. This is currently unused but will be necessary later. - Track the last ping/not ping status in PingSyncSynchronizer. This is used to know whether to restart a ping, rather than expecting the EasService to pass this in. Change-Id: Ibb0aa45cf5174ea5dd3ba6210104a25e9060dcf8 (cherry picked from commit 215cae569676dde52c864718515397e803eafa49)
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|
6c4254903d2f42836c5b74a934e54441ccee6dbe |
|
04-Feb-2014 |
Yu Ping Hu <yph@google.com> |
Add EasService & PingSyncSynchronizer. This is the first step to decoupling actual sync execution from the mail sync adapter. This change does not yet move to using the new service, it only adds the code and necessary changes to existing operations to be compatible with it. This change should not affect existing functionality. Change-Id: I80663c2bc216fdee44756d83fd567bc2c447e993 (cherry picked from commit 6c715246946dc4a7b7ca535dd9ff7f3cfc227c6d)
/packages/apps/Exchange/src/com/android/exchange/service/PingSyncSynchronizer.java
|