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/SelectAccountDialogFragment.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/SelectAccountDialogFragment.java
|
77c20e8355e5bcd3f1106b87abc2b6d582f9b0bf |
|
28-Sep-2011 |
Makoto Onuki <omakoto@google.com> |
SelectAccountDialogFragment: Handle orientation changes - Put all parameters to the argument Bundle, so they won't be lost on orientation changes. - Removed the subdialog in ImportExportDialogFragment, which used the argument Bundle for a different purpose. Now we put the information needed to ImportExportDialogFragment as a sub Bundle in the argument Bundle. Tested all 3 uses: - "Add new group" - "Copy to my contacts" (Couldn't configure my device to show this dialog, so I had to apply a local patch to test this part.) - "Import from SD" "Import from SIM". Also made sure other features on "Export/Import" still work, except for pre-existing bug 5387545. Bug 5382646 Bug 5369853 Change-Id: If7f75ee8192889dbe484874c52e1a355d6b35c6c
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|
6f74c0f3313cbb08ee8a8fbb79bfefc5b03fe215 |
|
27-Sep-2011 |
Makoto Onuki <omakoto@google.com> |
Fix account list for group editing (for master) - Don't use contact writable account list to populate the account picker when creating new groups, instead check for isGroupMembershipEditable() on the account type - Repeat the same for determining whether the "new group" button should appear in the PeopleActivity or not Bug: 5360120 Change-Id: Ifd2fd1cf4ea7bf02d4dcba3e9c023bd7041fab83 Original-Id: Ia1ec62eff3fe4fd5b495548218c58f238ff49788
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|
2b3f3c54d3beb017b2f59f19e9ce0ecc3e039dbc |
|
27-Jul-2011 |
Dave Santoro <dsantoro@google.com> |
App changes for account types with data sets. This is primarily a replacement of the Android Account object in most parts of the app with a new AccountWithDataSet object that extends Account (by adding an additional attribute, the data set). This also includes a major refactoring of the AccountTypeManager, both to allow it to handle data sets and to allow for non-sync-adapter packages to be referenced by the sync adapters for an account and registered as sources of contact data. Attributes of the sync adapter that would typically come from the authenticator can be parsed out of the Contacts XML for these packages. Bug 5077096 Change-Id: I88f311c64eae78c88e9999bff6f7de8538e62157
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|
971116e466757434f4979a61d4f58ea0deac1ea4 |
|
05-Jul-2011 |
Katherine Kuan <katherinekuan@google.com> |
New group disambiguation dialog - Since switching accounts in the group editor is difficult (i.e. we need to wipe all added group members when accounts are switched), it's easier to just have an account disambig dialog when you first create the group - The disambig happens as a popupwindow anchored to the action bar "New group" button if it's a wide screen - Otherwise the disambig is a dialog that comes from the GroupEditorFragment Change-Id: Ibd75607b326e600c412f4bd04eb4cc72534aed72
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|
261cd5650d07fbc41ea8f19d4e422094612d1454 |
|
17-May-2011 |
Daniel Lehmann <lehmannd@google.com> |
Turn ImportExportInteraction into DialogFragment Bug:3126133 Change-Id: I544d836b3c5d0e3c38352978d55a55e131885638
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|
18ffaa2561cc7dd2e3ef81737e6537931c0a9a11 |
|
03-Dec-2010 |
Dmitri Plotnikov <dplotnikov@google.com> |
Renaming a couple of packages Change-Id: I2c0f86b51baa622df629206f8b79ef1d0df09119
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
|