In the situation where we have deleted an Account from our
provider reconciliation will delete the associated amAccount.
Unfortunately, there isn't any sort of side effect code path
that considers that policies may need to be updated when
this Account is deleted. This CL injects that logic.
Change-Id: I27c7a35efbdca4be274a9d3d8f7ce698f9204092
Also deanonymize loader inner classes
and fix a bug on re-reading a cursor after rotation.
b/16326913
b/15547554
Change-Id: I6e9dd36f425c1df93823a4b9d1faba15a802ad50
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
Got rid of large icon and only setting 'small icon' now.
If conceal sensitive info has been enabled, also hides
the ending of the account address.
Bug: 16987147
Change-Id: I0899a602d1dfdaef980002746ce9079912f0525c
b/16843301
This introduces a new build target: EmailGoogleTombstone.
Building with a tapas line that includes that target will
produce EmailGoogleTombstone.apk. The apk includes the
EmailProvider and AttachmentProvider (for migration to
Gmail) and an activity that explains to the user where to
find their email data.
Change-Id: Ib8192b46d9017e04f5c99f5c8e509531198eec07
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
-keepclasseswithmembers is strict. If it isn't able to find any of the
methods listed, the whole class can be stripped
Bug: 16825652
Change-Id: I1e8eefba9e0cf4b596f7e8041161e12bde6b51c6
Default the MOVE_FAILED_TO_DRAFT action to simply deleting
the failed message from Outbox for Email since this is the
current behavior.
b/4080109
Change-Id: I74917d0b2581e2dd145906dddfac395efc2d8206
Since unit tests only run on eng builds, modify the proguard config to
only keep the methods/classes needed for unit tests in eng builds
The test proguard config probably is keeping too many methods. We should
also evaluate whether it is valid for unit test to use methods that are not
used in user builds
The resulting apk size is 8714188 bytes, from 9866129
According to the proguard output, the final number of program classes is
4409, from the previous count of 10932
Change-Id: Ie7065a454e1ff80a4b3f953684940d88b17f6db7