History log of /packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ffb419e08d7bab32ee489ec1e8e4a341d01a968a 15-Apr-2017 Wenyi Wang <wenyiw@google.com> Fix long logging tags

- Delete unused tags, shorten the tags in use including the
tags for logging and those for adding a Fragment to
FragmentManager

Bug: 36711497

Test: none

Change-Id: Ia2fc473257eade62f0dd4cb12140be77f506baf8
(cherry picked from commit 11798d44eb59efc943ba5c78635426d3b773db19)
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
ee3d3a503553de2699285d98bc6fe7d34699a8b0 22-Dec-2016 Marcus Hagerott <mhagerott@google.com> Add setter for accounts in AccountsListAdapter

This allows the accounts to be set after the adapter has been created
which simplifies usage in cases where the accounts are loaded with a
loader.

Test: manually verify that account list is correct for default account
preference, import from .vcf and create label.

Bug 33627801

Change-Id: I5a33ad2746cff41d0251cead9a33dc53e5bf822d
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
3f6a2444e0134b7380cdb2e13abf4bf1163336d0 05-Dec-2016 Arthur Wang <wuwang@google.com> Collapse res-aosp and res-icons into res folder for AOSP Contacts (1/2)

bug:31022536
Change-Id: I0434710d92027e59ccd97e27ebd09f1668346684
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
69c182afb0e6d82a341a28b4317aa703af768906 05-Dec-2016 Gary Mai <garymai@google.com> Collapse common packages (1/?)

Move the majority of packages out of common. When trying to move
common.activity to activities every file switched from a rename to
separated deletes and adds. Will move tests and the rest of common
in a separate CL.

Test: Built GoogleContacts, Contacts, GoogleContactsTests,
ContactsTests.

Bug: 33252370
Change-Id: I9ffb20038dee255ef5f83002b7870265771b08c5
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
c3322286a4c26e987b59296e1f33399848816313 11-Nov-2016 Wenyi Wang <wenyiw@google.com> Dismiss import dialog after it's clicked

- The workflow we want to fix is opening account dialog from import dialog.

- Previously, we keep import dialog around until account is chosen; this
workflow never worked well on rotation since Lollipop.

- Now, we dismiss import dialog to simplify the workflow; and since we
dismiss the import dialog, we use activity as a listener.

- SelectAccountDialogFragment is used in:
- import contacts
- create a new group

Bug: 32502787

Test: manual - verify importing contacts and creating new groups
work well after rotation when there's 0, 1, and 2+ accounts.

Change-Id: Ic8b9c3f9987aeb3867ab2100097c235088507bdb
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
55d0e7146d7c4fe5008bd664c44c25a29934fd87 01-Sep-2016 Walter Jang <wjang@google.com> Move SelectAccountDialogFragment from common.editor to editor

Removed the SelectAccountDialogFragment.Listener from
QuickContacts since the dialog is not displayed anymore.
It stopped being used in ag/522326 but we forgot to delete
the listener implementation.

Test: Exercised the moved dialog by: 1) creating a label and
2) import contacts from SIM on a device with more that one
writable account.

Bug: 31088704
Bug: 30759296

Change-Id: Id78b41b80556fd44adb1f20e0ba9217918d23ff3
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.java
87c71f43c70cd970e54eecbfa4c8d79259922c5d 05-Dec-2012 Chiao Cheng <chiaocheng@google.com> Moving SelectAccountDialogFragment to ContactsCommon.

In preparation to move ImportExportDialogFragment to common.

Also moved a few more string resources left out from previous move.

Bug: 6993891
Change-Id: I2ddb6467732c53a70bc94c4cd0c702346ccb54fe
/packages/apps/Contacts/src/com/android/contacts/editor/SelectAccountDialogFragment.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/SelectAccountDialogFragment.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/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