History log of /packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
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/EmailBroadcastProcessorService.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/service/EmailBroadcastProcessorService.java
8c03e2af9f439c6e0c6abb38b0c371da7ccdb72a 11-Jul-2014 Tony Mantler <nicoya@google.com> Remove direct entry points to AccountSettings

b/16240332

Change-Id: I9bc3f9a2e0b7faa4d8875a9ac7d6d585a65d9733
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
19b7e95d646b768ee66ff54497aab3067628869c 05-Mar-2014 Andrew Sapperstein <asapperstein@google.com> Use BroadcastReceiver to listen for LOCALE_CHANGED

Previously, we used the service to listen to Intent.ACTION_LOCALE_CHANGED.
This never worked because that intent is broadcasted by the system
and so Services will never receive them. Just use the existing forwarding
infrastructure to send the broadcast to the service.

Change-Id: I50ef625804e76e2348d3fe14686778d54463b78d
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
8196f82ce207f0c7a1088996d0f3017a16c3637e 21-Nov-2013 Tony Mantler <nicoya@google.com> Use update notification intent to trigger notifications

This ensures the SuppressNotificationReceiver object quiesces the notification while we're viewing the folder

b/11789666

Change-Id: I98f388844b29458e7ea7deee398f7d8536b1919c
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
bc8bc050b080287c35241f5ab0c310bbbdb6e805 15-Nov-2013 Yu Ping Hu <yph@google.com> During upgrade, ignore protocols whose strings don't change.

Copied from https://googleplex-android-review.googlesource.com/#/c/389215/
in order to submit for ur10, also made a minor change to early out when
we know it's a no-op.

Bug: 11258856
Change-Id: I28415e97225a216c16abb6ad7c48a860c5370173
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
7acf30e9ab077362dc03812583044fb3e23206c3 17-Oct-2013 Tony Mantler <nicoya@google.com> Make sure account upgrade code always runs before reconciling

b/11240251

Change-Id: Id6d6ad98b729757991b19c8dcd84822d6216f9a0
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.java
9e521deb6bb525b33365cc2926cb2d0faa7095e2 01-Aug-2013 Scott Kennedy <skennedy@google.com> Remove some warnings

Change-Id: Ie5adc71af6b6cec316c5186ac0566c02a4fc1bff
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.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/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.java
b34608228f0b55e401415b67b8150ca9e00cee7d 11-Dec-2012 Scott Kennedy <skennedy@google.com> Move notifications to UnifiedEmail

This involves redoing the persistence model, to split general,
account, and folder settings into separate SharedPreference stores.

It also requires some preferences to be moved into UnifiedEmail.

Depends on Ibe2e3f93ec164370535ffc5f5b2409544cc8d36d (UnifiedEmail)

Change-Id: Ie6ec389b5b5d2e7ab1b299d0877811ae716526e2
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.java
f53490dc86f5a61ab09024dc4938ce8419c61fc5 03-Sep-2012 Marc Blank <mblank@google.com> Reconcile all types of local accounts in MailService

Bug: 7078247

Change-Id: I43eb5b8a85e40217893bdc08cd839450358d07ea
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.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
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.java
6fea021e3dbe71aaa93512aba699d1bfda3d520d 29-Jun-2011 Marc Blank <mblank@google.com> Remove redundant and unused constants

Change-Id: Ie8658f86737880e3127a0a2c3b7f0557dde98b29
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.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/EmailBroadcastProcessorService.java
f5418f1f93b02e7fab9f15eb201800b65510998e 14-Jun-2011 Marc Blank <mblank@google.com> Move Account into its own top-level class

Change-Id: Ide7c991b7d4d418dbe17164421425bf898ba64ee
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
44f5cd67c97da6a5c7e63a73b4dca7057b83cdbb 01-Jun-2011 Todd Kennedy <toddke@google.com> Remove widget views

The new widget UX allows for a single display mode for the widget. This can
be configured when the widget is added or at a later time during widget
re-configuration.

We don't have the configuration activity (yet). We first need to restructure
the widget to take a single account / mailbox combination. Hooking up the
configuration activity will occur in a future CL.

Change-Id: I38a5796c44938a6abd0d2bb50ac77241cc86a497
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
12b82d9374947c9268217f45befe8a74bd9b60d7 20-May-2011 Ben Komalo <benkomalo@google.com> Move HostAuth to top level class.

No other changes made.

Change-Id: I1c6497c98abc0f99443ea42d8aed6295b263c123
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
2866284a6d4ee4b368fcaf412c540b21d457e065 13-May-2011 Ben Komalo <benkomalo@google.com> Rename AccountSettingsXL -> AccountSettings

This activity already supports phone and tablet mode.
Only renames in this change - no other change.

Change-Id: Ieca17137af45e3860812091f69cd4d9b55ddf3ec
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
25ab2df296d524671616831122f9a3c59132ae51 02-Mar-2011 Marc Blank <mblank@google.com> Fix typo and comment

Change-Id: Iffc69baf98c05a09693ba9a053c91d921fc1b423
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
8c89674b64f6669fa94bf593abad0f1e2255a812 22-Feb-2011 Todd Kennedy <toddke@google.com> Always set a delete policy for legacy accounts

The delete policy can only be set for POP3 accounts. However, the delete policy
is used for all legacy accounts (that includes IMAP). As such, we need to make
sure IMAP accounts also have their policy set; even though the setting is not
configurable by the user.

The delete policy does not mean anything for Exchange accounts, so, we do not
need to modify the account setup code for them.

bug 3074164

Change-Id: Iab10d2997404b3b0c10a60a64fb652540c0d2d1a
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
31d9acbf0623872f9d4a2b3210b5970854b654c7 12-Feb-2011 Marc Blank <mblank@google.com> Email split, part huit: Refactor constants, clean emailcommon

* There are three pieces to this CL (sorry):
1) Move and/or rename some constants into emailcommon
2) Move Utility to emailcommon, moving the few UI
related utilities back into Email (FolderProperties
and UiUtilities)
3) Remove all references to resources from emailcommon
* The three pieces relate in that, between them, they allow
the emailcommon static library to compile cleanly

Bug: 3442973

Change-Id: Ic5e3abaa2a1b36999e0b6653c6c2134ea1bd544f
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
314a51cb1d5bc538f069b6b13d8dffd575a5cc44 08-Feb-2011 Makoto Onuki <omakoto@google.com> Refactoring widget

- Moved to com.android.email.widget
- Extracted nested classes to top-level classes
- Some small clean-ups.
- WidgetProvider and WidgetProvider$WidgetService are left in the original
package to keep compatibility with honeycomb (3.0) release.

This CL is supposed to be pure-refactoring. There should be no
functionality changes.

Change-Id: I37acaa24b6b488724750c0f33374b31fcc433f11
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
6c5ee59c4fcd5cb2992a53234245df8faeaf8a5d 26-Jan-2011 Todd Kennedy <toddke@google.com> Add "tap to configure" text to widget

If there are no email accounts defined, the widget should show a single string
that allows the user to create a new account. Whenever there are changes to
the defined accounts, the widget(s) will update their headers to ensure they
are only displaying valid information.

bug 3296594

Change-Id: I156c20cfc90692174297a2aededd85775e0ea196
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
c50b6f685ba26a38b8110f6ca0115b12f84d643c 14-Jan-2011 Makoto Onuki <omakoto@google.com> Use broadcast to detect system account update.

Instead of AccountsUpdatedListener.

Bug 3211657

Change-Id: I1e60092fc06fe80b9914ff7264c24fcbfa950745
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
a2269e84c6134bfd3506e5489c7ccfd60c32d41f 30-Dec-2010 Andy Stadler <stadler@android.com> Remove disk access from DeviceAdminReceiver callbacks

* DeviceAdminReceiver is actually a BroadcastReceiver, must follow
guidelines to prevent ANR or early process kill.
* Remove all uses of AsyncTask from DeviceAdminReceiver
* Pass all calls through EmailBroadcastProcessorService
* Minor restructuring of EmailBroadcastProcessorService to support
this use.

Change-Id: Ic6257ea5eff1bd466a736e0f93cb89b1cf8aa73e
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
2959a7e073c87e2fa5fab42ec543b352a91cf187 23-Dec-2010 Andy Stadler <stadler@google.com> Fix ANRs from Email.setServicesEnabled()

* Create sync & async versions
* Rename all callsites so sync is very apparent
* Fix callsites appropriately
* Clean up interaction between reconciler and setServicesEnabled

Bug: 3133770
Bug: 3134677
Change-Id: Iefbc7814d9aa390baea6345e450e2a4768bf0a9a
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
4f71ade96e9dda5b2ffaac4e563de915f2be4234 28-Oct-2010 Andrew Stadler <stadler@android.com> Remove BOOT_COMPLETED log.

Change-Id: I3eb06076ad61dab0f38e32e736e7dbbcf8dde065
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
57f125a01b5fbb5860b144b3057153a50d07ddd1 26-Aug-2010 Andrew Stadler <stadler@android.com> Move debug settings from own activity to setting fragment

* Add DebugFragment and incorporate it into AccountSettingsXL
* Tap "Email preferences" 10 times in a row to enable debug settings.
(Or type D E B U G works as well.)
* Point broadcast receiver (*#*#EMAIL#*#*) to AccountSettingsXL
* Remove old debug launchers in AccountFolderList
* Remove old Debug activity

Change-Id: Ib289c42878a07c23f815654ce4570c1399aa49de
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
42e3f10a9575e277ba6f121e6cac56ddb02fda12 01-Jul-2010 Makoto Onuki <omakoto@google.com> Use "*#*#36245#*#*" to activate the debug screen.

Dial *#*#36245#*#* on the dialer to activate the debug screen.
"36245" = "email"

It's useful when
- There's no keyboard.
- There's no account set up yet.
(You can do it by entering the special username/password on new account
screen, but that's a bit of a pain.)

It's also easier to tell to people.

Also, removed "sensitive logging", which should never be used.

Change-Id: Id692f8b216f2d85abe1880c452d2067f170dac83
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java
898283b6fa4f141d5c2a0831b96b19de11d587b3 28-May-2010 Makoto Onuki <omakoto@google.com> Fix ANR in one time initializer and unify BroadccastReceivers.

- Merged all three BroadcastReceivers into one.
(Changed class name because old ones may have been disabled.)

- Use IntentService to perform the tasks in a worker thread.

Note the new receiver will never be disabled. We always need to start
exchange.SyncManager.

Bug 2722155
Bug 2416929

Change-Id: I8241880fc1ee38d85dcdca7e1d46fc2f6b2d375b
/packages/apps/Email/src/com/android/email/service/EmailBroadcastProcessorService.java