History log of /packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
486e971066979f41c1a38ad7414cd1430a55d87e 15-Aug-2014 Tony Mantler <nicoya@google.com> Fix providers.xml alternate diversion

b/17048013

Change-Id: If2bc857266a6ba1445bf1fabbaed179c1b13a14f
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
9250f4787222f8bc3afe539a2f351fd8d9875fba 09-Jun-2014 James Lemieux <jplemieux@google.com> Unit Tests for serialization of Account and HostAuth objects

b/14998528

These are particularly important since they are stored in JSON form within the
Account Manager, so maintaining backward compatibility when future changes are
introduced is crucial.

Change-Id: I51333a364726a4c7e2fe88ee888e8c4cc11d962f
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
34c2e1619d47d8140efd212c7bb037b935eb5d18 15-May-2014 Tony Mantler <nicoya@google.com> Fix FLAG_OAUTH usage

Also fix some excessive checking of incoming/outgoing settings fragments

b/14969455 b/14971192

Change-Id: I6cf83aa59d381d3bbfc33e0d4a6e133c1814ba69
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
82a207132b34377d532f19882f5bfc70bc657da0 14-May-2014 Tony Mantler <nicoya@google.com> Move account backup/restore to userdata in AccountManager

Change-Id: Iea9f2a1b1f2d87e07d63cbb1df5a0d6355ea4031
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
3dd85723a1af5537e23e4b05bdc361cce9cd42be 11-Apr-2014 Tony Mantler <nicoya@google.com> Cleanup in EmailContent

Change-Id: Ifa251eb206779f59ea003f99395d454c7e407bc2
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
76472ae40cd55d17edb0420e8fc2a7bae60c50de 13-Feb-2014 Tony Mantler <nicoya@google.com> Merge setup fragments under a single activity

Change-Id: I10cf8bb9f6bc1a26ea97ae664f0196ae9e9493b5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
87de90282bc7f00c154be460c66cef999072b555 14-Feb-2014 Martin Hibdon <mhibdon@google.com> Make settings flow work for OAuth

Now the password entry is removed from AccountSettingsBasics,
and the user is taken to either SignInActivity or AccountSetupType
after hitting the next button. This is a lot closer to the
desired setup flow as it allows for oauth signin.

Ideally this is not what we will ship for Algol, but it put us
in a state where we could ship if we had to.

Change-Id: I5b28bccd27c515572e4947ca877bd1772732507d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
58fbd2a47729bd21b5e3001c76bd0723ea868728 31-Jan-2014 Martin Hibdon <mhibdon@google.com> Add sign in Activity

This allows the user to choose which type of authentication
to use for existing IMAP accounts.

Change-Id: Ib44364a1059a2c4b8a7a0fa66b14cd042b28770e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
e8eb6e659b5914eb7deab451c583e906010d0457 11-Dec-2013 Martin Hibdon <mhibdon@google.com> Make OAuth work

Now you can authenticate your account using oauth
for google hosted accounts (e.g. google.com, gmail.com)
The setup ui is still not up to spec.

Change-Id: Ib2826653550a823b4d1b8739c1e483746cccbc22
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
05723aa0f642fbbffd8859dce8181601576e245b 11-Dec-2013 Martin Hibdon <mhibdon@google.com> Don't put Credentials in HostAuth parcels

The problem is that exchange isn't compiled with this
change, so HostAuth parcels to or from exchange fail.
Ultimately, we'll need to probably create a HostAuth2
object or something along those lines. For now, just
change the format of HostAuth parcels back, so they
stay compatible with exchange, I'll figure out a real
solution later.

Change-Id: I9c8c8639b7b474fe82dfdc37a9e51a0451820105
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
0b25179dab10dc7dfb91210cabfe637f3067d777 04-Dec-2013 Martin Hibdon <mhibdon@google.com> Allow database to hold oauth credentials

Change-Id: I127297fd78c7676995f1dcfa59fbbcafe4e72e8e
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.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/provider/HostAuth.java
54347010fbbdd3ae1dea5b0e282514c640e16a5f 22-Sep-2012 Marc Blank <mblank@google.com> Allow legacy imap to sync

* Remove old (and dangerous) constants

Bug: 7210754
Bug: 7212263

Change-Id: I6a1463a653c5c4823a96c9fbb9ca37e53a45b48a
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
733a11467cc681d956eef9c5e98695f84743c39b 21-Sep-2012 Marc Blank <mblank@google.com> Add id to HashCode equals()

Change-Id: Ibe5d8cbfb88884e38505d9daf0b413730e1fb333
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.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/provider/HostAuth.java
7d5e2a7c08966ffd4a9e8c78f504cc4fd5be4216 01-Aug-2012 Marc Blank <mblank@google.com> Do "same certificate" checking when using "trust certificates"

* Refactor/simplify Transport/MailTransport
* Add serverCert column to HostAuth table in EmailProvider
* During first connection to server, save the server certificate
in the HostAuth; on subsequent connections, ensure that the
certificate presented has the same public key as the one
stored
* For now, we'll just fail to connect (with a CertificateException)
if there's a mismatch

TODO: Add some UI to handle different certificates

Bug: 6888866
Change-Id: Ia79497e89eaad8d43617b50d3771121b2ed7f687
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
f419287f22ae44f25e1ba1f757ec33c7941bbfa8 28-Jun-2012 Marc Blank <mblank@google.com> DO NOT MERGE: Move emailcommon2 sources to emailcommon

Change-Id: I06df7e467cd2e0117df8b8db3ddc6ff9da13f1c7
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
f65bdbdaf5960951452b148f801c51feca864bfe 16-Jun-2011 Marc Blank <mblank@google.com> Fix Store caching

Bug: 4671090
Change-Id: I07413eb713c564f6dbcac45091357153cfe19a5d
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
913e26180d389cdeab2f6b96db4f1e3d9f68f5d7 15-Jun-2011 Ben Komalo <benkomalo@google.com> Fix ambiguously named getters.

Change-Id: Ieec918a520fd291d8d85695d1a86b85a73b266a5
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
22409fcffae4c6e551fb3e6ead4cdc92e33fded1 14-Jun-2011 Ben Komalo <benkomalo@google.com> Pass HostAuth when validating an account.

Since HostAuth is fully Parcelable, no sense passing the individual
fields.

Change-Id: I4d8fd2bbe7b47e8f1e2ff00c8c0cad8429eec159
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
85e4c101b014857fe40f87c3837b82564cfc5b6c 08-Jun-2011 Marc Blank <mblank@google.com> Remove storeUri's except during auto-setup

* Remove per-store limitations
* Use constants for VISIBLE_WINDOW, rather than having the
potential for differences between Stores

Change-Id: Idd5e0874bba6e3390e4f093bcb03f4b1bb399c11
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
724c3a81cd3649b48ab47c6e49cb42f73f20c815 08-Jun-2011 Ben Komalo <benkomalo@google.com> Introduce scheme name escaping in SSLUtils.

Change-Id: I73f19e7d40d0b19dfd41cfaf7db0879ef2e3a3ea
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
313586c8eb4e23ceec068b82f3dc0be1c8a7045f 07-Jun-2011 Ben Komalo <benkomalo@google.com> Introduce client cert alias for HostAuth.

Some email servers require client certificates to be presented to
establish an SSL connection. While this certificate will be maintained
by the system key store, we need to store the "alias" of the certificate
stored in that system store.

Wiring up to use the actual alias will be done in future CL's. It is
currently unused.

Change-Id: I8d1290151342daea9ceb0df8a4088405b44faa81
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.java
5675ea88d3cc4ba9934d2a54fee008fd324d711f 24-May-2011 Todd Kennedy <toddke@google.com> Add a second fragment to select the mailbox

After choosing the account, we need to select a mailbox for the shortcut.
In order to replace the fragment, we cannot hardcode it in the XML. Instead,
we need to dynamically create it.

Also, restructure the fragment class and rely on the class to "do the right
thing"

Change-Id: I752ad5bbdf2484332ec2b73852cae74a5d2092fa
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/HostAuth.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/emailcommon/src/com/android/emailcommon/provider/HostAuth.java