History log of /packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
7039633999b3a46a87c851fa06d9168897ccc54b 28-May-2014 Yorke Lee <yorkelee@google.com> Fix broken contacts tests

Change-Id: Ie9c803ede45b300f20a03a25d6a646cd6eb1f39e
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
28daa7d3e7f81e92ebc134b19ae7fe2d902aa531 29-May-2014 Ed Heyl <edheyl@google.com> Fix build breakage: Revert "Fix broken contacts tests"

This reverts commit 90ef577763f3ccb2d43fda1d21c62533acbbecdb.

Change-Id: If98147879e1658c3a48d04b855c033d191fec2f6
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
90ef577763f3ccb2d43fda1d21c62533acbbecdb 28-May-2014 Yorke Lee <yorkelee@google.com> Fix broken contacts tests

Change-Id: I0edda45234edb7fe4e322138ad48af426133634f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
e09b991d963c8207cb4bc64ff45009dd33523e1b 05-Sep-2013 Alon Albert <aalbert@google.com> Support QuickContacts For Extended Directories

Change-Id: If336b94955dbea9f02e4fabbd797257151fa512a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
0d5588da244d0992c3ff8f25d0875fdf95a8c644 27-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move AccountTypeManager to ContactsCommon.

Moving AccountTypeManager to ContactsCommon so it can be shared by Contacts
and Dialer.

Bug: 6993891
Change-Id: I9526ac7cda758290caecabfcaebe620238d8dd6b
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.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/editor/ContactEditorUtils.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/editor/ContactEditorUtils.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/editor/ContactEditorUtils.java
a0290a4baab4297303cab3664c7abfd548f2e301 27-Jan-2012 Makoto Onuki <omakoto@google.com> Fix proguard flags

Removed problematic *ForTest and use NeededForTesting instead.

Change-Id: I61517b6ea30da2461f541ceca19f04f24f8624da
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
131e6ac666868645b48ae6932575d85751ff57c0 05-Oct-2011 Makoto Onuki <omakoto@google.com> Ensure not to use "local" account when there are accounts

Bug 5409438

Change-Id: I30e72bb686ed0ccbd9c7c42d4331c4ce418efdc4
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
42342a7e91b5076bc222802379e12b56272ca366 26-Sep-2011 Makoto Onuki <omakoto@google.com> Prevent activity leak which was introduced in Ifb86c931

Don't store the passed context directly, but use the app context.

Bug 5355671

Change-Id: I7cd4f4d1ee4d9364ae34407718125f65cdf67129
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java
558669dab4109afebd19eade1f95a396215fb44d 23-Sep-2011 Makoto Onuki <omakoto@google.com> Utility methods for new contact editor flow

- shouldShowAccountChangedNotification() to see if we need to show the dialog.

- saveDefaultAndAllAccounts() should be called when saving a newly created
contact, with the account used to save it. This saves all writable accounts
and the default accounts to the preferences.

- getDefaultAccount() to get the default account.

- createAddWritableAccontIntent() to launch the account setup wizard.
- getCreatedAccount() to interpret the result from the wizard.

- Also implemented Parcelable for AccountWithDataSet, so now it can be
put in a Bundle.

Bug 5355671

Change-Id: Ifb86c931b43fa307b65756cf24cbef4350374c67
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorUtils.java