History log of /packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
f9d845c1b74d1e31db4796cbdb0ad05c0da0068e 06-Aug-2014 Régis Décamps <regisd@google.com> Fix `getAllAmAccounts()` returning duplicated accounts

Use a set to save the account types, in order to de-duplicate identical
types.

Also, remove unused imports.

Bug: 16811863 Duplicate POP accounts are listed
Change-Id: If699d03b2c12959cfde9926bec9352b71c3d8912
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.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/provider/AccountReconciler.java
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/provider/AccountReconciler.java
e817be135332c4060b5985ff830e3ce555043a43 17-Jun-2014 Paul Westbrook <pwestbro@google.com> Specify compose activity with resource.

Allow the compose activity, that the account reconciler attempts
to enabled/disable, to be able to be specified via resources.

This allows the various build targets to change the activity that is
enabled/disabled, or to not attempt to do this at all

Change-Id: I7c91c2c179316a3aac910a38d7dd0025076b085a
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
3f4a556d54cb6dd20f89c7e7fe94723e18ec6d28 20-Mar-2014 Martin Hibdon <mhibdon@google.com> Fix Calendar and Contacts syncing for POP and IMAP accounts

b/11818312

Change-Id: I34b82040991506bf9099cc0df237454a8f97c764
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
dc7fe8964c5a8c26b60406bb682628d8a6d9183f 17-Dec-2013 Tony Mantler <nicoya@google.com> Disable the compose activity when there are no accounts configured

b/10042454

Change-Id: I45767d3e727b4c1fe858d80ca2e063b491827302
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
3e8e59798b718e034da8c250e706e6429c41c2a5 30-Oct-2013 Alon Albert <aalbert@google.com> Null Protect Account Info

Bug: 11355850
Change-Id: Idb42769b3009787efb4edfe2ffbd65171cd8d8d8
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
ac1d3249fbb50714ad1bee5aec41968574befd90 04-Oct-2013 Tony Mantler <nicoya@google.com> Remove notifications while we still know what type of account this is

Also add null check just in case

b/11070468

Change-Id: I187b9b084512a2b994f4a0a3b750ade5eee50624
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
ed0ee50a12fdd36b813831da7a60774c3965b9c1 25-Sep-2013 Tony Mantler <nicoya@google.com> Match against both account name and type when reconciling accounts

b/10210901

Change-Id: Ice60ab64a2f7287be9ee639e5777f85bda4bd390
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
4265ade29a684543ac5b048dda90c4733c58568a 18-Sep-2013 Tony Mantler <nicoya@google.com> There's no such thing as a wrongly incomplete account

b/9856118

Change-Id: If2d2c50989285a13eb0ae29961733e472e26c978
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.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/provider/AccountReconciler.java
afe097f318a7eeac9d240d2bedbc5caba7640ea8 26-Jul-2013 Yu Ping Hu <yph@google.com> Simplify account reconciliation.

- Rather than handle by type, do them all at once.
- Simplify when reconciliation happens.

Bug: 9056861

Change-Id: If264678c82c63090246ef8ff857c8e46f6672c85
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.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/provider/AccountReconciler.java
d8302b01faa8fc7f175c93e90458aa84e8a663c7 23-May-2013 Scott Kennedy <skennedy@google.com> Ensure notifications get cancelled when necessary

There were a few places calling the old notification code to cancel
notifications. These calls were completely unnecessary.

Also, when an account is removed, we now clear all notifications that
may exist for that account.

Bug: 7935576
Change-Id: I58f7e194c3f9a928e932b3b1b87475e7d3653b6a
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
78b8c04898c04890b757fbd83df9666e0a9068f5 21-Sep-2012 Marc Blank <mblank@google.com> Add another test for "incomplete" accounts

* We have been erroneously marking some accounts "incomplete" and
this can cause reconciliation to fail after deleting the
accounts in Settings.
* Still need to investigate why the flag isn't cleared at times...

Bug: 7148506
Bug: 7166598
Change-Id: I0059580a6e4b6a5c54c09b8409c4358ff707ff77
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.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/provider/AccountReconciler.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/provider/AccountReconciler.java
ebb79619e8ed3c9f0c051e7f323e3971bce7508d 09-Mar-2012 Marc Blank <mblank@google.com> Move account delete logic to EmailProvider

* This functionality had to move away from Controller

Change-Id: I557918a325eab8c83a9728fa1ce33dde8b86158f
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
002a1802cad235ffa8f7152e0d0a5a2ebad14f63 16-Sep-2011 Ben Komalo <benkomalo@google.com> Prevent flicker in opening Email.

Welcome had some assumptions that some things had to be done
asynchronously, such as checking inbox status.
This can now be done on the UI thread and so transition into Email can
be done immediately in onCreate, except if there's reconciliating to
be done

Bug: 4599569
Change-Id: Iaaac21e73c985c60e1b7974fb0429948b35968e4
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
7688300055a4ea84cd95768145f773d7c3259948 20-Jul-2011 Ben Komalo <benkomalo@google.com> Fix sync window settings for EAS setup on phones

- the container is the one that should be visible/gone - individual
fields should just be visible
- also do drive by javadoc fixes

Bug: 5052310
Change-Id: I45c4b6b7f94b2b62ac94eeff0ab97bf34c9e117a
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java
4e4aba9ebc43c6a83190f3a883fa05bb7d5100b3 19-Jul-2011 Marc Blank <mblank@google.com> Clean up account reconciliation

* Move AccountReconciler to the Email app (from EmailCommon)
* Ensure that Controller.deleteAccountSync() performs ALL actions
needed to clean up after an account deletion (delete attachment
files, reset policies, refresh the UI, etc.)
* Add reconcileAccounts() API to AccountService
* Remove accountDeleted() and restoreAccountsIfNeede() from the
AccountService API
* Remove unused callback

Bug: 4883073
Bug: 4767084

Change-Id: I43ffaf009db1a6f306bb0f2a74fb4dd3b2c4b966
/packages/apps/Email/src/com/android/email/provider/AccountReconciler.java