This is to backport a security fix reported by b/27308057 and b/27335139.
Also, add Analytics for these errors.
Bug: b/27335139
Change-Id: Iaacb34e4983cdf9a85487222ae930cb64d80a193
Twiddling the AccountManager bits doesn't automatically trigger a
content update, so we refresh manually in those cases.
b/17330140
Change-Id: I294173c9baca231a6f3ff045d0b7795c6b2b2219
- Add minWidth to fragment
- Remove extraneous LinearLayout and tweak margins to avoid layout jumps
- Change + asset
- Remove old + icon from prefs header from Email
b/8134410
Change-Id: If3371017359b47d9e4280b09fd3bb074b024c23c
This reduces the tombstone down by 100K
A follow-on cl will remove the unused resources from the tombstone build
Bug: 17414014
Change-Id: I5d38811b17a5273ec726e750ab123e10e36cee04
Setting the gravity to center_vertical seems to make them behave. Not asking.
Also clean up the layout file in general.
b/17380851
Change-Id: I45ac202825295c577dd1a13a3176ac685bd9b9d8
b/17367647
The friendly name paired with the email address is now considered
optional when creating a new email account.
Change-Id: I9398ae48e29ee0554efc9c46e9f2f380e7f17cf9
There is still work to be done here:
* The debug setting is not persisted in Exchange, so if
the exchange service is killed, when it restarts the logging
will not be active.
* Nothing in Exchange actually does any additional logging
if this logging is turned on.
Change-Id: Ic578e6956f70dd47fba9b2895385312f71c47abf
Also deanonymize loader inner classes
and fix a bug on re-reading a cursor after rotation.
b/16326913
b/15547554
Change-Id: I6e9dd36f425c1df93823a4b9d1faba15a802ad50
We want a separate class for communicating HostAuth objects
to and from IEmailService. The issue is that the HostAuth object
was being used for both to and from the database, and to and from
IEmailService. This is dangerous because The Email app may change
out of band with the Exchange app, and may need to change the
format of HostAuth. This bit us before when adding OAuth.
Now communication to IEmailService is done using HostAuthCompat.
Change-Id: I2fb8c2bd8158f58a7bb9bc3dc83a7936948c718c
b/9566150
- Install PublicPreferenceActivity
- Create AccountServerSettingsActivity to contain all the crazy
logic we don't want in AccountSettings
- Add restoreAccountWithAddress to Account
- Refactor almost everything out of AccountSettings
- Tidy the QuickResponse fragment
- Majorly refactor the AccountSettingsFragment to decouple it from
the activity, and make it save settings immediately instead of
when pausing
- Move login warning dialog to AccountSettingsFragment
- Tweak HeadlessAccountSettingsLoader
Change-Id: Ie69181d968b9c3e5940cfef9690b1f5c70e21aa8
In the AOSP version of the email app, we don't by default
have any oauth providers. We should not display option
to set up your account with OAuth.
Change-Id: I6fc55ae4852ec76b7c34c09ac58a0e06e89affa7
Make Email GeneralPreferences subclass GeneralPrefsFragment.
Only contains a minimum of code to strip out archive-related prefs,
which are not relevant to the current state of Email back-ends.
(These actions could be relevant for Gmail IMAP extensions if support is added for them)
b/9566150
Change-Id: Ie8e26379ed504c7d96c2a2f8e1c843bbe0582cc7