95c2b2dd4297657d809a31f31afd6263067a5b34 |
|
22-Jan-2015 |
Brian Attwell <brianattwell@google.com> |
Don't call finish after cancelling Add Account Bug: 19078495 Change-Id: I3be7679d1bbccf7f21c75d40c625584e46ccb7a8
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|
428f008513d1591cc08fcfe2cf0c9237fb313241 |
|
14-Nov-2012 |
Chiao Cheng <chiaocheng@google.com> |
Move dependencies of AccountTypeManager into ContactsCommon. Moving dependencies in preparation to move AccountTypeManager. Bug: 6993891 Change-Id: I804cdbe64b9b8111ed286037943d593e11dc4044
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|
851222a96b5d68602fb361ea3527101e893f67e3 |
|
21-Jun-2012 |
Maurice Chu <mochu@google.com> |
Added thin object layer around contact data This refactoring abstracts out the need to directly refer to Contacts database columns throughout the code. Instead, all of this information is retained in getter/setter methods within the Contact, RawContact, and DataItem classes and sub-classes. ContactLoader.Result class has been pulled to the top level as the Contact class. The Entity class has been removed and replaced with a RawContact class, with getters/setters to raw contact information. Renamed EntityDelta to RawContactDelta for better understandability as well as adding getters/setters for specific fields in the ValuesDelta nested class within EntityDelta. EntityDeltaList and EntityModifier have been renamed to RawContactDeltaList and RawContactModifier with the methods using the RawContact class directly rather than the Entity class. Data items for a raw contact are represented by a DataItem object with specialized getters/setters for subclasses of DataItem. (e.g., EmailDataItem, PhoneDataItem. etc.). DataItem is a wrapper around ContentValues. This abstracts away the ContactsContract column fields into getters/setters. The above refactoring is accompanied with changes throughout the codebase to use the new Contact, RawContact, and DataItem classes. Change-Id: I31c1dccd724e9652f9d0af78ca81feb6c5acd71d
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|
e0b2f1e2d01d1ac52ba207dc7ce76971d853298e |
|
12-Jun-2012 |
Chiao Cheng <chiaocheng@google.com> |
Global import order fix. Changed import order to be in accordance with style guide: http://source.android.com/source/code-style.html#order-import-statements Static imports will be placed at the top since most existing files used that convention. It is also a style that can be handled by both eclipse and intellij. Change-Id: Ia7013c7a2d88e5fefb8f4975d121f7fcd3fcc462
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|
87309946d854d4e52447f892401bd6c3803f940d |
|
09-Nov-2011 |
Katherine Kuan <katherinekuan@google.com> |
Check if google authenticator is on device for no account prompt Bug: 5570306 Change-Id: I32efcbc178f41df113d9ebe855bd7494f3cbd9cd
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|
aaa2ad5d450d1923dae4fdf76cd050cd8a069040 |
|
02-Sep-2011 |
Katherine Kuan <katherinekuan@google.com> |
Use standardized no account screen on first launch - If there are no accounts on the device, then launch an intent to show the prompt (check that there is no flag in SharedPreferences preventing the prompt from being shown). - Only when the user explicitly selects "Not now" from the no account screen, do we store a flag that says we should never show the prompt again. - Add "Manage accounts" permission in order to perform AccountManager.addAccount, which gives us access to the "no account" screen. Bug: 5250360 Change-Id: I2f925c838bc0e7003a8dbb3280e5a22ed8680670
/packages/apps/Contacts/src/com/android/contacts/util/AccountPromptUtils.java
|