• Home
  • History
  • Annotate
  • only in /packages/apps/Email/emailsync/src/com/android/emailsync/
History log of /packages/apps/Email/emailsync/src/com/android/emailsync/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
840408c41cfc95ffa491aaf11f1c3f4075eae9c9 04-Oct-2013 Tony Mantler <nicoya@google.com> Remove mAmAccount from the email provider account object

b/11070468

Change-Id: I51bad4be41800e4cd6dae42744005ade784cdf82
yncManager.java
26f741fbafad7c7159b56f2063d6bf5859109c6c 02-Aug-2013 Scott Kennedy <skennedy@google.com> Remove some warnings

Change-Id: Ifc855a6c8623bd980807064477635c19b8ed81e0
essageMoveRequest.java
artRequest.java
equest.java
yncManager.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
yncManager.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
bstractSyncService.java
mailSyncAlarmReceiver.java
yncManager.java
d1bae6c1e83bf4907096d4c2c16baaba330ca5b1 09-May-2013 Yu Ping Hu <yph@google.com> Switch constants to existing standard values.

Change-Id: I1dc5a6b7ceb5b13975a9366f11a945f5b111842c
bstractSyncService.java
1484c6663db7b194eea9341ec8ecab6b44985c7c 30-Apr-2013 Yu Ping Hu <yph@google.com> Code cleanup.

- Cleanup sync adapter to not have statics & locks.
- Remove some dead code.

Change-Id: Ia310d32b93706dc3742ccee74e5b751174280488
yncManager.java
9e7f5a2a33a31ff392d3116f6432b2f93ffe8e71 25-Apr-2013 Yu Ping Hu <yph@google.com> Use system SyncManager for Exchange.

Change-Id: I77e4e75c94c532d22a28cf97e6f55f1259b8bdde
yncManager.java
7539508bfc315fb3fce10d57da27762dab4d2bd4 18-Apr-2013 Yu Ping Hu <yph@google.com> Add a way to check whether we have a wakelock.

Bug: 8640907

Change-Id: I886af09d20dab195a9bbd38082a02d29e8b864e7
yncManager.java
72d7dda97d15c7bb5a25e0138436f9d9ca2f77b6 19-Sep-2012 Marc Blank <mblank@google.com> Improve service dump a bit

Change-Id: I850aebae0f8b20f0041672dc36a361c5b2d73f9a
yncManager.java
4639556e522bd35a932076ce04fdafc0184db355 19-Sep-2012 Marc Blank <mblank@google.com> Add bugreport dump of wake lock times

Change-Id: I4086e8ee620ac10d5a3c1673838c567753c1a553
yncManager.java
1bcf32e1b2c8b23c82e5380a5ddcd7a48e7c0a53 12-Sep-2012 Marc Blank <mblank@google.com> Don't sync at all if 1) upsync and 2) held

Bug: 7148468

Change-Id: I93a7734f274263e09ddef1b5cf7d9d7ea58a17c3
yncManager.java
4417adce6d391edcaf1348e0b2b0a175c7b381c4 10-Sep-2012 Marc Blank <mblank@google.com> Don't clear errorMap due to upload sync

* Clearing it will prevent backoff behavior from working
properly when there are changes to be uploaded

Change-Id: I1a1509e42730a3aa36298e3024068b6fe993e045
yncManager.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
bstractSyncService.java
yncManager.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
yncManager.java
cf566e251baaf9aa58a000b40b047a8f8caa105f 18-Aug-2012 Marc Blank <mblank@google.com> Make sure that all access to service map is lock-protected

Bug: 7013731
Change-Id: I9da734d19597997b34d6079cf013064262a75ec4
yncManager.java
9531e5ea5f80736af41d6d1e81b61dc322433499 19-Aug-2012 Marc Blank <mblank@google.com> Revert "Make sure that all access to service map is lock-protected"

This reverts commit 9d593aab1b5b4af6df4d9bbc3f4126da4ec2e2a0

Change-Id: I2b8f044e2119c60b9a42c7cb84577147c89ea0cb
yncManager.java
9d593aab1b5b4af6df4d9bbc3f4126da4ec2e2a0 18-Aug-2012 Marc Blank <mblank@google.com> Make sure that all access to service map is lock-protected

Bug: 7013731
Change-Id: Ib5e1f2aa92fd448f0a4131393a34d93315bfa649
yncManager.java
bc53491b95e4de2e30b04e696f30d209539ec87a 17-Aug-2012 Marc Blank <mblank@google.com> Ensure that security notification is posted if not active

Bug: 7007658

Change-Id: Ia422c30c47b044279471e549541ac6279735828c
yncManager.java
e444155bce035fe1315bcb8ab8782f528cec010b 06-Aug-2012 Paul Westbrook <pwestbro@google.com> Fix ConcurrentModificationException

Bug: 6937046
Change-Id: I82e578d9b31b0064570deee9a9625ddf07826112
yncManager.java
3a83ec1cf85a52741144b102b6b8f29cae4f7591 01-Aug-2012 Marc Blank <mblank@google.com> Don't save connection manager for autodiscover/validation

* Also add outlook.com to providers file

Change-Id: I2c334d1307b84899c3b64bd0c3f0cd92c190576e
yncManager.java
7d5e2a7c08966ffd4a9e8c78f504cc4fd5be4216 01-Aug-2012 Marc Blank <mblank@google.com> Do "same certificate" checking when using "trust certificates"

* Refactor/simplify Transport/MailTransport
* Add serverCert column to HostAuth table in EmailProvider
* During first connection to server, save the server certificate
in the HostAuth; on subsequent connections, ensure that the
certificate presented has the same public key as the one
stored
* For now, we'll just fail to connect (with a CertificateException)
if there's a mismatch

TODO: Add some UI to handle different certificates

Bug: 6888866
Change-Id: Ia79497e89eaad8d43617b50d3771121b2ed7f687
yncManager.java
dba0b20d955d88831ce94d96dbdadc49dba4761a 27-Jul-2012 Marc Blank <mblank@google.com> Handle ALERT response to login command

* Allow AccountService loginFailed API to take a reason string
* Present the reason string in the dialog shown from the login
failure notification
* Handle ALERTs in IMAP login responses (for example, some servers
will occasionally require web login and we need to inform them,
rather than simply saying the password is wrong)
* This fixes a longstanding bug in our Imap1 implementation

Change-Id: I8b270cd5d4746559b6c8a78bce02f0e7c525bdea
bstractSyncService.java
yncManager.java
0b6b83c6f90652b506c7761b923663c08f3af833 25-Jul-2012 Marc Blank <mblank@google.com> Imap2 additions

* Implement first-pass Imap2 server-side search
* Improve number parsing performance
* Better handle the BodyThread (loading message bodies)

Change-Id: I0ccd7377c80a0553b086d5204b211067896a2f49
yncManager.java
41bba664f72a4779f417b828ba3f62055d91fcb7 26-Jul-2012 Marc Blank <mblank@google.com> Fix EAS backoff behavior (was stuck at 30 seconds)

Bug: 6881519
Change-Id: Ib0b6f8a07a4bc47d3691c9cfa711e45eaf1955f2
yncManager.java
98497ec7f66d1c1c173abff3b8aec11451f94987 23-Jul-2012 Marc Blank <mblank@google.com> Prevent ConcurrentModificationException in SyncManager

Bug: 6856652
Change-Id: I1a264844cbab159505b4b3ebd32716a469517f0a
yncManager.java
a8b683cf3f2efe726220c0235368cf6ea899e3ba 18-Jul-2012 Marc Blank <mblank@google.com> More work on Imap2

* Handle sending mail and moving to sent folder
* Implement picker for sent folder
* Upload sent items to server
* Add support for "automatic" sync window
* Move some files from Email -> emailcommon
* The added files are copied directly from Email (and can be
removed if/when Imap2 is merged back with Email)

Change-Id: I3a6a3d224826e547748be2f1b567b6294ad5db89
yncManager.java
c6089bc01f2ae49fb11904a4b4f222811358254f 29-Jun-2012 Marc Blank <mblank@google.com> Initial Imap2 implementation

This CL includes the following:
* New Imap2.apk generation (not included in builds)
* "Push IMAP" option for accounts when Imap2.apk present
* Account creation/setup
* 2-way sync of messages, deletions, flag updates
* Push (messages, flags)
* Folder list hierarchy handling
* Message text (one plain or html part)
* Picker UI for trash folder (placeholder)
* Capabilities handling/UI command

Major Imap2 new features:
* Push
* Multiple folder sync
* Sync window (like EAS)

TODO:
* Picker UI for sent folder
* Upload of sent messages to server
* Search
* Multiple viewable parts
* Probably lots more, incl. unit tests

Change-Id: Ia5d74073d9c307e0bdae72a7f76b27140dde7d14
mailSyncAlarmReceiver.java
ailboxAlarmReceiver.java
essageMoveRequest.java
artRequest.java
yncManager.java
yncServiceManager.java
c5afb16430a145f20d7c887e45f47b38687054da 28-Jun-2012 Marc Blank <mblank@google.com> Add a bunch of stuff missed earlier

Change-Id: I7f707446a963912fe5786dacb5569e68db572d1c
bstractSyncService.java
mailSyncAlarmReceiver.java
ileLogger.java
ailboxAlarmReceiver.java
artRequest.java
equest.java
yncServiceManager.java