History log of /packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8c65e50bfe3b90b96985c2d87b8c459c348af6aa 20-Aug-2014 Anthony Lee <anthonylee@google.com> b/17135753. Make sure to free ServiceConnection.

The only way that the ServiceConnection was not being freed is if
there was an Exception (other than RemoteException) being thrown
out of mTask.run(). Now the call to unbindService() is called
in a finally() block surrounding that block of code.

Change-Id: I597412233381894be76d3c8bdf99fc7d96794dc2
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
bca4f9fcfb2301cd4bfdb9a4785f299f90e4263c 11-May-2014 Anthony Lee <anthonylee@google.com> Service intent's package matches the content provider's.

b/14596165. When setting the package of the service intent,
query the app that implements the Email content authority since
that is the same app that should handle the intent.

Change-Id: I29a34a056516edda78acb83b9c89547ca0dc5ca1
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
6ef1621f444538337253f3aeae63dfe0098e238b 12-Feb-2014 Anthony Lee <anthonylee@google.com> In 4.4 unbindService can return other RuntimeExceptions outside of
IllegalArgumentException. Make sure we catch it.

This fix comes from Motorola 0007-IKXREL1KK-3886 but part of that
patch was reverted because we already had found and fixed the
other problem.

Change-Id: I0b6aa1f91e7d2fa4dfc3af5ff590781c8812c14e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
fb9deb96c3af56bf422e28e8ae3b7b838f343155 23-Nov-2013 Tony Mantler <nicoya@google.com> Make intents more explicit

also fix intent strings.

Change-Id: I880fd6cd6192ae43002e1ddc8558f823141c5952
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.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/emailcommon/src/com/android/emailcommon/service/ServiceProxy.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/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
4da36412922f19e63638c593537a2bf64ab57bd8 28-Feb-2013 Yu Ping Hu <yph@google.com> Clean up ServiceProxy.

ServiceProxy had more layers of threads than needed,
and also had out of date comments.

Change-Id: I0b9de4eeb9ba4b84b8e058279adff5172941a8d0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.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/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
74c79a50432fcbf127fbfeadc1a461263ea92135 11-Sep-2012 Marc Blank <mblank@google.com> Modify intent names

Change-Id: Iad8b4842056a7f553363f9af47e65665c2b26a5d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.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/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
0b5f15d61ebf7c0e8428100637bc479ed93a4cb2 25-Jul-2012 Marc Blank <mblank@google.com> Make sure account capabilities get set properly in UIProvider

* Change getCapabilities API to take an account, rather than
the id of the account
* getCapabilities() can therefore execute even before Exchange
is fully up and running

Change-Id: Id4c2a9942ea7a21e0c56401c50206b680274b43e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
8ba8c1648c38cd339b09501a057fc2f5b0658b10 04-Aug-2011 Marc Blank <mblank@google.com> Prevent leaking ServiceConnection when process/threads killed

Change-Id: Id5d85fbdd0d044a59cc61748432e3f714264bcd5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
da3c4b8261825063ddf081e9335823569b813bd3 15-Mar-2011 Marc Blank <mblank@google.com> Remove STOPSHIP logging

Change-Id: I73786fb2f4ff10d3c0767a873e5eb1e443f1affc
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
37f3385803de19d4b6fb4ef1b1ac9a6196dec98c 02-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I846ee2a4b541f4709e647aa537c61549db2bec2e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
a07f2ae0b18964aa15e218e8b6be8be24e5c9f46 01-Mar-2011 Ying Wang <wangying@google.com> Revert "Split out emailcommon/Android.mk"

This reverts commit c28bf353190eb576072a8fd2f98821424144876e.
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java
c28bf353190eb576072a8fd2f98821424144876e 01-Mar-2011 Ying Wang <wangying@google.com> Split out emailcommon/Android.mk

Change-Id: I90653e8601ee3ee6a8719d87ffb93222a11a22c0
/packages/apps/Email/emailcommon/src/com/android/emailcommon/service/ServiceProxy.java