History log of /packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
cab161cfe8819200171ce0936050834d6694730e 17-Jan-2013 Yorke Lee <yorkelee@google.com> Merge "Fix empty name field when adding contact from maps"
688c228b2d7cf0c812fb673451f24e7cb457d63b 17-Jan-2013 Yorke Lee <yorkelee@google.com> Fix empty name field when adding contact from maps

Bug: 8026778
Change-Id: Id8ee1b7a02b2c9845258aca09f68ed9e1e4d3642
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
13d52b10fd720bb94ffe7a7e7ad1b37c1e06bb50 16-Jan-2013 Yorke Lee <yorkelee@google.com> Fix crash when adding a new contact

Check if mRawContacts is not null before trying to save it into
outState in onSaveInstanceState. If it is not null, save an
empty arraylist instead.

Bug: 8018115
Change-Id: I14db6bad22707b5154ffe016d2fd3b4391c13c85
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
44cfc56d1701629070384364416c1311b780535d 13-Sep-2012 Chiao Cheng <chiaocheng@google.com> Allow read-only contacts to be editable.

- Automatically create new raw contact when editing a read-only contact.
- Refactored mState to be always initialized.
- Allow RawContactDeltaList to be instantiated with empty constructor.

Bug: 6406182
Change-Id: I7a58625485dae6957b4f9bcc446122f54551afa1
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
86625158bdc52855c37e96bf098ba7a213c810d7 20-Dec-2012 Chiao Cheng <chiaocheng@google.com> Close popup window before fragment is destroyed.

Bug: 5606937
Change-Id: Ibfcc2d0c110f333a6728141f77c21adfeceb7419
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
f3c73113f0882d79aece54bc8ad467a5d0660f62 13-Dec-2012 Yorke Lee <yorkelee@google.com> Hide discard menu option if there are no writable raw contacts

Bug: 5174543
Change-Id: I87dd24e160df60cb92522cc91adb4e47de942331
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
36184f630cdb97d0a642de25f69962ef2abfedb1 12-Dec-2012 Yorke Lee <yorkelee@google.com> Destroy mAggregationSuggestionEngine only on destroy

Bug: 5458280
Change-Id: Ifcb6f120d6e7961703434e8d97183c6a7a70feb5
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.java
738ff8623dc77dd91a1b9023861e924ba5e4c27e 30-Nov-2012 Chiao Cheng <chiaocheng@google.com> Move ValuesDelta to ContactsCommon.

Bug: 6993891
Change-Id: I8b065c55100a152f72cccea5b62f10a8e30161c2
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
aa690d4949b8105e5bcf10569b7cf4fae36741de 29-Nov-2012 Chiao Cheng <chiaocheng@google.com> Prefactor RawContactDelta.ValuesDelta into top level class.

Making ValuesDelta into top level class so we do not have to move
RawContactDelta into ContactsCommon. ValuesDelta is used by
CustomContactListFilterActivity which needs to be moved.

Bug: 6993891
Change-Id: If7371cf08ac0e14218fb790c96856e971fa613ec
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.java
df237ecf94a05a5cdc5d21a4ba6fabb5bbfbbee4 15-Nov-2012 Chiao Cheng <chiaocheng@google.com> am f1689e3e: am 1cd2c24a: am f5d37174: Merge "Minor changes to validateAction()." into jb-mr1.1-dev

* commit 'f1689e3e99a95c61c0874f3f5057dd35040f1d7e':
Minor changes to validateAction().
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/ContactEditorFragment.java
e8e94423b463688951f806419dbd73e10e7bf7b4 13-Nov-2012 Chiao Cheng <chiaocheng@google.com> Minor changes to validateAction().

- Make error message more accurate.
- Change action validation to be inline instead of relying on for loop.

Bug: 7122054
Change-Id: I4d9e3e2a18659bbe5ccc0e355d1e7d97f5d38e0f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
8477f7ab95ec2e70f98277f79f48495c13382321 08-Sep-2012 Chiao Cheng <chiaocheng@google.com> Fix blank edit view after orientation change.

If an orientation change occurs before the contact data loads from the
database, the code fails to reload the data because it is checking
against saved state (which is always present on an orientation change).
This fix changes the check to look for the actual data to be present
in the saved state.

Bug: 7122054
Change-Id: I4373eca14ba447abc57493cf4c5af6b978d8b7a2
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
cdc279de45da459b359254777a09ab630ce60fa9 19-Sep-2012 Yorke Lee <yorkelee@google.com> am f0aa3c9d: am 288532cd: Fix BadTokenException in ContactEditorFragment

* commit 'f0aa3c9d1fc09f25a3dbd250493d8119ce360aab':
Fix BadTokenException in ContactEditorFragment
288532cddfccdc3793dd748d1c75750e2f46cb53 19-Sep-2012 Yorke Lee <yorkelee@google.com> Fix BadTokenException in ContactEditorFragment

Bug: 7162486
Change-Id: I3b8fcf6cf2fd3f11368b5af643a9b69ce0890e84
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
47b6f70eadb118d815b4aaf5426c070bd75a38fb 08-Sep-2012 Chiao Cheng <chiaocheng@google.com> Refactor RawContact to be parcelable.

- Re-work of RawContact to be a real data container and removed un-necessary
dependencies.
- Removed un-necessary circular dependency between RawContact and DataItem.
- Cleaned up and made DataItem more compartmentalized by removing un-related
account methods.
- Implemented Parcelable for RawContact and NamedDataItem.

Bug: 6406182
Change-Id: Icd84f34d85e1349a86e473708cc7f8fece12349f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
098f630c3dd0d993a423425e138f95dba0d7612c 08-Sep-2012 Chiao Cheng <chiaocheng@google.com> Fix blank edit view after orientation change.

If an orientation change occurs before the contact data loads from the
database, the code fails to reload the data because it is checking
against saved state (which is always present on an orientation change).
This fix changes the check to look for the actual data to be present
in the saved state.

Bug: 7122054
Change-Id: I4373eca14ba447abc57493cf4c5af6b978d8b7a2
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
e813f5e56ddc6395c5e08e9245e2c5ad41e91724 23-Aug-2012 Daniel Lehmann <lehmannd@google.com> Guard JOIN in case the state machine gets into an erroneous state

Bug:7013287
Change-Id: Id4da1f02b00efcc02fe3ad6c277189ad96fcb67f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
5671c7e7718c3285dc0391807401083986fcfd51 14-Aug-2012 Maurice Chu <mochu@google.com> Fix binding editors when state is null

The bindEditors() can only bind views when there is
data, so this checks for a null state and returns
immediately if null.

Bug: 6601692
Change-Id: I1abfd75ce3bffb5c96a7b5cb609c6d1686581649
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.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/ContactEditorFragment.java
4bff8fb686f2ac5500109a32cca9270965c620d6 06-Jun-2012 Makoto Onuki <omakoto@google.com> Fix handling rotation while camera/gallery/crop is active

on contact editor.

mCurrentPhotoHandler needs to be restored after orientation change.

Bug 6610108
Change-Id: I2a2877856b8c682cce01195bbf9d80978f9ec175
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a2f9090cef25dfe4e13117db8c91a056a7d5f114 29-May-2012 Maurice Chu <mochu@google.com> Fix regression when editing contacts

Put a null pointer check when determining whether
a photo already exists.

Bug: 6574706
Change-Id: I21bdbc162910715d5792308a7cb8abdd18bf2eda
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a1fa4d5db33dc4431b2bb325f3a8b7f06ab5d072 23-May-2012 Maurice Chu <mochu@google.com> Merge "Fix pop-up menus for photos in contact editor" into jb-dev
91004b37683c15650eccde68ff04defcf94a1c84 22-May-2012 Maurice Chu <mochu@google.com> Fix pop-up menus for photos in contact editor

The hasMoreThanOnePhoto() has been re-implemented to
look directly at the entity deltas to determine whether
there are more than one photo in the set of raw contacts
rather than relying on whether a photo was set in a raw
contact editor view.

Also, calls to refresh the raw contact views are made if
any changes to raw contact photos are made.

Finally, fixed a regression where the photo handler is not
set correctly so that the wrong photo handler would handle
the callback onPhotoSelected which caused a newly taken
image or chosen image from the gallery would get set to the
wrong raw contact.

Bug: 6408705
Bug: 5850397
Change-Id: I94e3872ed3e0191f1ca845de0d01525aee3a5f5f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
45ee872fe7be69c6b3f0c59167eecd11af467812 22-May-2012 Makoto Onuki <omakoto@google.com> Don't send view notification before showing quick contact

Instead, do this in the second load. This directly affects the quick contact
startup time.

Bug 6529921

Change-Id: Ief7bda9bd32cb4be0c86c4b79efb35da812721dc
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
ebc17929007ecf12f25b8e90023766e8a083d11e 05-May-2012 Josh Gargus <jjosh@google.com> Don't stash cropped photos in /sdcard/DCIM.

Every time we choose a new contact photo (either an existing one from
the gallery or a new one from the camera), we write the cropped image
/sdcard/DCIM. As a result, the cropped image (eventually) appears in
the gallery, is uploaded to G+, etc.

The new behavior is to write the cropped photo to a temp directory,
and to clear it when we're done with it.

Revert some of the changes from Ib7037a66; we still need to persist
properties in onSaveInstanceState() in case ContactEditorFragment is
killed while the user interacts with the camera/gallery.

Bug: 6423139
Change-Id: Icf8cb5b4824e3d8757ff483ef128527ac9132e72
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
87270e1b58e669354bb1571ced686421c56deb7a 03-May-2012 Josh Gargus <jjosh@google.com> Avoid crash when re-saving new contact with photo.

This bug was encountered when creating a new contact from Maps,
but could happen any time you:
- create a new contact
- set a contact photo, either from the gallery or a new photo
- save contact but don't leave ContactEditorFragment
(eg: "Join" cause the contact to be saved)
- edit another field
- save

The fix is to clear the list of photos-to-save after each save.

Bug: 6432438
Change-Id: I63e86bd82fd16b8177bdca741ecc7a1a90d22d18
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
2828c48cc4537fe981918f80297d5408bedc87b5 28-Apr-2012 Makoto Onuki <omakoto@google.com> Prevent passing null context to AggregationSuggestionEngine

The monkey crash suggests we're creating this object when getActivity()
returns null, meaning after the fragment is destroyed.

I couldn't really find any path that could cause it, but let's make
sure we'll never pass null.

Bug 6340106

Change-Id: I38091b46a99821065e248c811ed2f974f2f47152
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
740552201d103b80bc49ea8a39a30536222672ea 27-Apr-2012 Daniel Lehmann <lehmannd@google.com> Don't show triangle and on-press state if there is no action

Bug:5265514
Change-Id: Ifc1d3b765f909f0ec7cc7565b9d89de50c4a5549
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
55967b408f722a3e1d6c61f09618ddd310fb7693 27-Apr-2012 Josh Gargus <jjosh@google.com> Make popup non-modal for contact aggregation suggestion.

When editing a contact's name, the aggregation-engine provides
potential contacts that the user may wish to aggregate the current
contact with. However, this popup was modal, which is bad UX.

Bug: 5438601
Change-Id: Ic8519c235af75d44cfa060f16107cd64aeef61b9
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
692d46364f2f0e32fd481b977c9e16832e70de5c 25-Apr-2012 Maurice Chu <mochu@google.com> Added help menu options to People app

This has been implemented with the idea to enable the creation of help
menu options in a standard way throughout the Android platform. One
particularly important feature is to hide the exact URL that is being
used to invoke the help pages via the browser via using vendor-specific
overlays of string resources.

Also, other standard context for the help like the preferred language and
app version code are incorporated automatically via the HelpUtils function.

Bug:6206323
Change-Id: I5a1fff4d99ac93d3a6aa05da91f465fad072cb8a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
9a409d474b2b4f2e4261657f864eeb866fcb8816 24-Apr-2012 Daniel Lehmann <lehmannd@google.com> Fix an NPE in PhotoSelectionHandler. mListener was always null

- Also fixed an independent crash when replacing a photo from Details
- Also renamed mListener in ContactEditorFragment to avoid name shadowing

Bug:6387900

Change-Id: I000009c6c8d4ea4a07168f99530e4ef1f648a333
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
e5d3f897689c8ba0f275c7679c72eacb190ae9b8 11-Apr-2012 Josh Gargus <jjosh@google.com> Fix regression; once again we can apply Gallery photo to contact.

The changes to support hi-res photos in Ic0cabaa5 were not applied to
AttachPhotoActivity. This CL makes the analogous changes, and many other
cleanups besides.

In addition, applying the Gallery photo works even if the AttachPhotoActivity
is killed (eg: when selecting a contact, or when cropping the photo); this
didn't work even before the regression.

The save-contact Intent which invokes the ContactSaveService no longer
needs to specify a callback Activity (it is OK to pass null if you don't
care about getting a callback).

The subclasses of PhotoSelectionHandler have been significantly simplified,
partly by pushing common behavior to the superclass, and also by directly
accessing state in their outer class instead making their own copies.

ContactLoader.Result.getEntityDeltaList() is a new instance method that
replaces more verbose incantations.

New utility class, ContactPhotoUtils. Helps with compressing Bitmaps, and
generating temp-file names used when saving hi-res photos to a contact.

Bug: 6298601
Change-Id: I2fe90c33c9fa81716f263d82ed80c0d6f63c6a7e
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
764637aba745612a9fdc07adb99c615263916fa8 04-Apr-2012 Josh Gargus <jjosh@google.com> Allow setting photo on otherwise-empty local contacts.

Fix bug in ContactEditorFragment where, after tapping "Done",
the contact's photo is still unset. This regression is due to
the changes to support high-res photos... now that we use a
side-channel to save the photo, the EntityDeltaList doesn't
know about the change. The fix is to also create a thumbnail
and add it to the delta-list. This allows us to avoid ugly
special-case code in the editor and save-service. The high-res
photo is still saved via the same side-channel.

Bug: 6109553
Change-Id: I59bb9885eeb0260861ee167d3b5f1c7319896488
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
ba69014263332f2056263cddc41cc6d7cfd7b7ca 23-Feb-2012 Daniel Lehmann <lehmannd@google.com> Fix empty contact

Bug:6023712

Change-Id: I0437eb5a010b392b840795d16d5b03411394b3ef
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
f30723782e801deaf159aea2443e9507596ef11d 23-Feb-2012 Daniel Lehmann <lehmannd@google.com> Don't re-use the SaveMode in the group editor anymore.

As we only ever use SaveMode.CLOSE, I decided to remove this entirely.
We don't support re-loading at the moment, so it seems wrong to have
code in there that pretends to be able to do it.

Also I cleaned up some Eclipse warnings, so that the side-bar has fewer
yellow lines

Change-Id: I263b716c2edc98682bd5f5d1bc2b18ede15d7ced
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
28eadab78531e22a0d9fa22fbbcd61c451005890 22-Feb-2012 Josh Gargus <jjosh@google.com> Fix bugs in hi-res contact support.

Serialize updated photos and restore them upon device rotation; this
addresses bug 5999990.

Also, be sure to clear updated-photo entry when the user chooses
to remove the photo; otherwise it will still be saved when the user
exits the ContactEditorFragment via Back/"Done". This wasn't yet
reported as a bug.

Bug: 5999990
Change-Id: I9a01d4b9e40fec0e764156271a292588ed1b7154
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
e692e010ca02200087997280e7c239ebf94aa8f9 18-Jan-2012 Josh Gargus <jjosh@google.com> Support for high-resolution contact photos.

Rather than getting a bitmap directly from the gallery app, with
this change we create a temporary file and request that the photo
be stored there. This avoids running into bundle size limits when
passing large, uncompressed bitmaps back from the gallery.

After reading the photo out into the Contacts app, we use the
openAssetFile API to stream the large photo data into the
Contacts Provider. Note that we do this rather than having Gallery
write directly to the provider because we have no guarantee that
the Gallery (or substitute) app has WRITE_CONTACTS permission.

In the Contact Editor, the image is not permanently stored until
the contact is saved. This avoids needing special logic to handle
the case where the contact is newly-created.

Fix bug 5907233 en passant... the vestiges of some partially-
expunged code were causing the ContentEditorFragment to not
apply a selected photo.

Bug: 5786849
Bug: 5907233
Change-Id: Ic0cabaa50c08d6a9a0b730698c92f4092192438a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
ced983d7a816256d93fdea1f81e63e4598c18875 10-Jan-2012 Josh Gargus <jjosh@google.com> Better wording when choosing photo from PhotoSelectionActivity.

When there is already a photo for a contact, "Take photo" and
"Select photo from Gallery" don't sound as good as "Take new photo"
and "Select new photo from Gallery".

Bug: 5738108

Change-Id: I43e13774079695b0ecebc5d67576e2ea831706a0
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
6fa7384a1a5576ace18159de61af91c8b7c34dc6 28-Sep-2011 Dave Santoro <dsantoro@google.com> Allow adding/replacing a photo from contact card.

This involves a large refactoring of the photo handling code that
previously lived in ContactEditorFragment. The bulk of that logic
has been extracted out into PhotoSelectionHandler and
PhotoSelectionActivity classes.

As part of this change, also removed the selection highlighting when
tapping on the current tab header in multi-tab views.

Bug 5294297
Bug 5379389

Change-Id: Ic929e4b4a730d91f768a34367bb76967228ded17
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
7cdbe5c0b11acb6128974f593b4ede86b01f95b2 22-Nov-2011 Katherine Kuan <katherinekuan@google.com> Remove titles in simple confirmation dialogs

Bug: 5476234
Change-Id: I7970c3378860e3521b55d248968a4710d8161c04
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
2621c5bb7049401c8bce740005fa60bf1b304b86 03-Oct-2011 Makoto Onuki <omakoto@google.com> ContactLoader: set requested URI to error/not found result

- Now both the "error" and "not found" results have the requested URI.
- NOT_FOUND is no longer a singleton; there's now "isNotFound()" method
in accordance with isError().

Bug 5350017
Bug 5201346

Change-Id: Icb9080d3885ea2217e73a59db3825984746c3eb3
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
52d5545e61a2410df979eff4fc8f9f566b263799 29-Sep-2011 Dave Santoro <dsantoro@google.com> Merge "Avoid showing error if contact removed on save."
36d24d7ede42a252c82c4aa783b2231c5e2eea79 26-Sep-2011 Dave Santoro <dsantoro@google.com> Avoid showing error if contact removed on save.

Because removing all data from a local contact can actually cause
the raw contact and contact to be deleted, we need to track that
case so that the caller does not consider the lack of a lookup
URI to be an error.

Also made "Me" header all-caps for no-profile case.

Bug 5346614
Bug 5354364

Change-Id: If1e1d67da9c14eb8782be05b2e39ece19b5ac026
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.java
0353a24d97cc0266eb9bf0ee6c7d6821aeb1896e 23-Sep-2011 Katherine Kuan <katherinekuan@google.com> New editor flow (for master)

- Added dialog-themed activity that pops up on new contact creation
in 3 cases with a variation of message when there are:
* 0 writable accounts on the device
* 1 writable account
* 2+ writable accounts

- The dialog is displayed whenever a new account is added
to the device or the default account has been removed

- Once an account selection has been made by the user,
we store it in SharedPreferences using ContactEditorUtils

- Slight restyling of the account list adapter

Bug: 5355671

Original CL: Ib3343a5aea972b366a9df41b9419ad9561c2243d

Change-Id: I46f4c5687a5b6eaa68b55a568f0d737ad80dfc5c
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
2b3ee0f34801444c7d775ce747125459f69712bb 22-Sep-2011 Daniel Lehmann <lehmannd@google.com> Make third party sync adapters editable

- Already merged in factory rom branch under
https://android-git.corp.google.com/g/#/c/136996/
but marked as do not merge, so we submit it
here manually

Bug:3093621

Change-Id: If3bb34f7d29bea4bd873342232bea3c1a77bcd2a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
96e87fd6e808e9d853263ffeb5104f3253a18639 21-Sep-2011 Daniel Lehmann <lehmannd@google.com> Use existence of editor as indicator whether source is editable.

Bug:3093621

Change-Id: I3ba344667ce1b0f2da6847d783c0ac90f36ebd8f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
48ed982e078de00f6be49319ccf09bbb2aaadf5e 07-Sep-2011 Isaac Katzenelson <isaack@android.com> Allow local profile editing with an existing profile

Bug: 5244792 Can not create local offline profile if
Google+ profile has already been synced in

Change-Id: Icb818098588f27bab54515d8a554fe77a08569ca
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
7a8cb1c78a2841d09cdc614db83c5444b4b86c0a 30-Aug-2011 Daniel Lehmann <lehmannd@google.com> Merge "Contact editor assets and redlines"
b9e60280603f2fa57083c13952e4b25e2585b833 29-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Silently give up split action when mState is null

mState may be null if the Fragment is recreated (or in the other
strange state) by the system during split confirmation, which is
really rare for users (while it may happen during automated
testing). Avoid NPE and give up the save action silently.

Bug: 5220440
Change-Id: I40c9a29ef1f3c1a3913beb9f3a8022b00d297102
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a3e69af03dd35124941a48c3bfaea87468d66863 25-Aug-2011 Katherine Kuan <katherinekuan@google.com> Contact editor assets and redlines

Change-Id: I08c11dce7f07155a919fec9989587af5f11a3220
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
681f36cc7cc49be781eedc4685eda2d1b2c0444c 26-Aug-2011 Isaac Katzenelson <isaack@android.com> Fix header when editing a profile

Bug: 5179920 Google+ profile should say "My Google+ profile"

Added a case to change the header name when editing a profile.
The editor now gets a boolean indicating if the contact edited is a profile.
If it is a profile, the editor sets the header with "My X profile" according
to the account name.

Change-Id: I62af5011061f61a6d1d3c60845a1746c99cda04a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
f9fa11c0867ec17742a1bc6b742d4a64a631962b 26-Aug-2011 Katherine Kuan <katherinekuan@google.com> Don't print out bundle in ContactEditorFragment

On rotation change, we shouldn't print out the bundle because
it contains PII.

Bug: 5205563
Change-Id: I7965f4312a2769468ea17be6dadb7a988d46883a
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
9e7b5da669fcf92a6a627fb720749e5cb627684a 23-Aug-2011 Makoto Onuki <omakoto@google.com> Propagate original exception when throwing load exception

Bug 5198078

Change-Id: I941dc9b96d6c58eb1912d446c3c27ec4c4c2ffef
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
2245870a1354df03512010e4968b144840894fb7 19-Aug-2011 Frank Sposaro <sposaro@google.com> Added new assets for contact editor.

Bug: 5070819
Change-Id: Id90fcf34a376f7d3d0a1dec3a0a76e4df4b5053c
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
73fb1d01a718f8c92f1f653cf8f62f45ca244545 13-Aug-2011 Isaac Katzenelson <isaack@android.com> Merge "Remove "suggested contacts" while editing profile"
2bbfae8f92d5c218c83a49621a4c8f98f4d7a394 12-Aug-2011 Isaac Katzenelson <isaack@android.com> Remove "suggested contacts" while editing profile

Bug: 5155177 The "suggested contact" pop-up shouldn't
show up while editing a local profile

Added a check to remove the call to get suggestion when the contact
is the profile.
Did some cleanup and created a method for detecting if we editing
a user profile.

Change-Id: I54b3a009f9fe3dd5f899b8b903b6830e71835874
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
02a54ebd3185948e2c1c0f39b7718cb9abaea934 12-Aug-2011 Makoto Onuki <omakoto@google.com> Prevent monkey crash with aggregation suggestion popup

Bug 5153029

Change-Id: Ibcedddaf1d2b57e1399e483701fe76c50aec64dd
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
8ef558d147af3ea47fe67f2585fb24b97a2e1285 12-Aug-2011 Isaac Katzenelson <isaack@android.com> Merge "Remove join/split buttons for profile"
1ba8b6fea4c3f82ded19305874e72a326612aed1 12-Aug-2011 Katherine Kuan <katherinekuan@google.com> Finish string changes

Bug: 5147284
Bug: 5144069
Bug: 5150725
Bug: 5149819
Bug: 5144900

Change-Id: Ib3495e1ef7847eb2c01d7609c1524024123c993c
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
03587ecd46c0a524f3cdc5ffd2959be2bc30bb34 11-Aug-2011 Isaac Katzenelson <isaack@android.com> Remove join/split buttons for profile

Bug: 5149871 There should not be a way to Join/Split profiles
Change-Id: I4c7782d67f04fe494ed1825e631d2b8c1ae5810b
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
6c8c0777c823e2a2fef69299c0b36ca4a40e1fea 08-Aug-2011 Daisuke Miyakawa <dmiyakawa@google.com> Show popup for aggregation suggestion

- create ListPopupWindow instead of embedding Views into
the base layout.
- refrain AggregationSuggestionView from having focusable and
clickable capability, which will be automatically supplied from
ListView
- tweak layout xmls to show ListPopupWindow correctly. Include
some pixel-perfect designs

Bug: 5057400
Change-Id: I9ec8642c0864204747ee445da7ee0292171a8788
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
bec0e12648b7c90aab9eda5b2837faca2493e5c3 10-Aug-2011 Makoto Onuki <omakoto@google.com> Remove unused callback

Bug 5143491

Change-Id: I20b82551329f1beb05dc4039cf0d501fe9a9e676
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
ead19c5eafee0ffb43b02a4ae75ac5244ad3f853 30-Jul-2011 Isaac Katzenelson <isaack@android.com> Support for local profile

Bug: 5121834 Support local profile
5086184 Account name is overlapped by number of contacts
5082317 Text is chopped on the top in contact list

1. New headers were added at the top of the contact list to
present an empty local profile.
2. Clicking the empty local profile opens the editor to allow
the user to create a local profile.
3. Profiles are shown at the top of the contacts list with the
"ME" header and the number of contatcs.
4. "Add to contacts" button and the starred button were removed
from the details view when it is a profile.
5. Fixed a problem with a header view that remained when you had
a profile or was in search mode.
6. Fixed problem with contacts count apearing in search mode

Change-Id: I45615616e03a603759888d9e7169a853b3328b14
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
fd70903236883f47b21f23b8cb49a1ccacdfcdf1 02-Aug-2011 Katherine Kuan <katherinekuan@google.com> Pixel perfect work for phone contact editor

- Always show account header for raw contacts
- Align text fields and titles along the left margin
- Align spinners
- Use "Add new" as the default text if there's no value
in Event or Groups field yet
- Restyle account header
- Use primary/secondary colors everywhere
- Non-editable contact fixes: remove "not editable on
this device" and replace it with a toast when the
user clicks on the header, restyle item_read_only_field

Bug: 5097095

Change-Id: I94a6c91b05344028b64c62735fb4559f9944529d
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.java
2293e55d550fbc9974d1185960715e59acb14a85 22-Jul-2011 Katherine Kuan <katherinekuan@google.com> Clear field if try to delete last field in section of contact editor

- Don't remove the field if it's the last field in the section,
just clear all EditText fields in that editor

Bug: 4382255
Change-Id: I2b436fbe895e5cc52770eefedaa2bc5f9726605f
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
9959f0c9a7ee91490ecc1f9023c0012855363fe8 22-Jul-2011 Katherine Kuan <katherinekuan@google.com> Merge "Modify action bar for contact editor"
13cc7c59d540608a2f1c68be0a31a0560392e0ae 22-Jul-2011 Katherine Kuan <katherinekuan@google.com> Default fields in contact editor

- Remove website and notes as default fields that show when
you create a new contact

- Don't allow "Add another field" button to add fields for
sections that are already visible (i.e. if website section is
visible, then "website" won't show up in the popup menu)

- TODO: Handle the case where there are no more fields to
add, need mocks from UX

Change-Id: I3b0929ebf69c93b60220c75c0b00b72cf5b2aa83
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
9b3dfd0bc36568558bfdc32a5d4c30f2d0df5fed 22-Jul-2011 Katherine Kuan <katherinekuan@google.com> Modify action bar for contact editor

- Use custom action bar for "Done" button (hide app icon and
get rid of "up" affordance")
- Move "Cancel" into the overflow menu and rename it to "Discard"
- Remove "delete" button from overflow menu in editor as specified
by the UX mocks b/c the user can delete the contact in the
contact card already

Change-Id: Ic389983a08a7b03fa24e7f4c1c37c95bd6c1c9fa
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a94859f61c216d4e137a631995026d3ddefbbf70 20-Jul-2011 Katherine Kuan <katherinekuan@google.com> Contact editor fixes

- Bring back data kind titles
- "Delete" button should be invisible not gone
- Make field + spinner horizontally stacked instead of vertically
stacked on phone
- Don't show account header if editing an existing contact that
only consists of 1 raw contact

Change-Id: I7dd4bfdf273eeaccca8399d182c0a56a6e23a8c7
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
5649a12fe551855f00c8dbeacfc96511c2a5fb71 20-Jul-2011 Katherine Kuan <katherinekuan@google.com> Go to contact card after editing

- In PeopleActivity, get rid of startActivityForResult to launch editor
because the editor will take care of launching the
contact card itself (instead of relying on the PeopleActivity
in the tablet to reload the contact details)

Bug: 4769324
Change-Id: Ibbaaccb03ac7961784dfa7b15c246b8d6f6489a4
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a7c3d4d726b91f645431af14d8cceadd2245f4ce 15-Jul-2011 Katherine Kuan <katherinekuan@google.com> Restyle contact editor header

- Move account switcher to top of editor
- Make account header always displayed (even on existing contacts)
- Take out hack for font size of structured name and just
make it text appearance large
- Align photo side by side the structured name
- Move over honeycomb style of group membership item over to
phone resouces folder
- Center "Add another field" button on the phone

Change-Id: I548edc3f1a2a0c20e83e4a28a10e110e51f8c12c
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
0a2a5db3b3633883388953dc98e30c2edd7cae62 29-Jun-2011 Dave Santoro <dsantoro@google.com> Contacts App modifications for large photos.

Most of the work is on the provider side - essentially, the
provider will now deal with any size photo, downsizing it as
necessary to fit in a display size and thumbnail size. So
on the client we just need to pass in a larger photo to get a
hi-res display image for the contact.

Also switched a few spots to use the PHOTO_URI (with
openAssetFile) instead of PHOTO_THUMB_URI - more likely
remain.

Change-Id: I6ff8dd5453a9ff787907ab113d6e8aa6a71fcae1
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
623932de8c18e9b83b6fd941afe415ab2e6c730b 09-Jul-2011 Daniel Lehmann <lehmannd@google.com> Fix NPE when joining contacts on the phone

Bug:4355323
Change-Id: I0183bfacaf430202234a96a8dbcb5e9949489a43
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
c6b8afe730255537978f2c938cca6986cae63c34 23-Jun-2011 Katherine Kuan <katherinekuan@google.com> Group editor on tablet

- Allow autocomplete to add new members which presents
the user with suggestions from the raw_contacts table
with the same account name and type as the group
- Hook up the "new" and "edit" group buttons on the tablet
- Once the user exits the editor, update the group list
and scroll the group list to the group that was just edited
- Allow rename of groups (make the names of read-only groups
not editable)
- Allow removal of members
- Hook up the done / cancel / up / back buttons

- TODO: Be able to create a new group + add new members
in the same transaction. Then the new group editor
will allow adding members at the same time. Currently
you can only add a name to a new group. Once it's created,
then you can go and edit the membership.

- TODO: Bulk add/remove members in one transaction when the
user exits the editor. Currently it's saving the change
after you modify the membership list (even before you hit
the "Done" button in the editor).

- TODO: Add member status message and chat presence

- TODO: Add UI for non-editable groups

Change-Id: I1f32a28862c358b8bd1469666743cd240d28f80b
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
2aa09b9965fd22c4dd5536d0f576ac351a8eb00d 29-Jun-2011 Frank Sposaro <sposaro@google.com> Fixed NPE Bug for joining Contacts on Tablet.

Bug: 4355323
Change-Id: Icb4802e0d2b67dc118818d98ea5e06d95dde3d25
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a6c8f2daa80f1816dd25237457d7f6287c6b1b7c 15-Jun-2011 Daisuke Miyakawa <dmiyakawa@google.com> Show the selected account first in account switcher

Bug: 4584712
Change-Id: Ib041d7aa3cca3fa8f5b4780eb7a76c5e41819b39
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
be18de05d6f6a107c552e369bce58f51c946fde7 07-Jun-2011 Katherine Kuan <katherinekuan@google.com> Add group detail fragment on tablet

- Add action bar on GroupDetailActivity, title, and subtitle
- Make everything use the groupUri instead of passing around
account name, type, group Id, and group title
- Fix some of the callback listeners between the group fragments
and group activities
- Add factory methods to ContactListFilter

Change-Id: I63066ea6eefde1e57562b6396d6dc590ed023c84
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
51e8d634f2d16aeaed73b6fba42d02a1c2d48b20 20-May-2011 Daniel Lehmann <lehmannd@google.com> Remove an unneeded function and an unused callback function

Change-Id: Icb01f50ad12d19a019da04bc27fa0d6f6ec04dfe
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
d37a891cb44cd17083c06d7be693c469403d16df 27-Mar-2011 Daisuke Miyakawa <dmiyakawa@google.com> Enable account switcher in contact creation

- remove account selection step before contact creation
- (phone) put account info on the right side of photos
instead of having "header" for it
-- renamed header_* ids for account stuffs as they may not be
part of header any more.
- add migration functionality to EntityModifier
- add test for it
- no optimal layout

Bug: 4184675
Change-Id: I0e777f9aa37a7c9145bd430f897f8068b0bede56
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a10775d625339d168337e03de05d02f5e0a4f55d 31-Mar-2011 Daniel Lehmann <lehmannd@google.com> Don't save the contact if the user accepts an edit-suggestion

Bug:4194346
Change-Id: I51afcea7e92ac3d2e595a72920dd4dbb59267912
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
1e2a0333712ed2d2cbfac633d2696e5e4572b6fb 03-Mar-2011 Dmitri Plotnikov <dplotnikov@google.com> Merge "Modernizing phonetic name support"
5ec40b04041818bc042c0671cb1a43b54f650e25 02-Mar-2011 Dmitri Plotnikov <dplotnikov@google.com> Modernizing phonetic name support

Bug: 3497894

Change-Id: I5aaa77275bbe1921af2d7ef034d2319691f8abf7
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
c76c2e872b4d8deb0e8ac26e9558fa360d525fde 01-Mar-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in contact editor

Bug: 3499233
Change-Id: I3dc95c4d1e16b9d764bd50a937a58c9401be07ab
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
11bb73bcdf4290ced99e3e06b1f76d4c37357aea 26-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Preserving name structured on expand/collapse operations

If the user does not change components of the structured
name, the expand and collapse operations in the editor
should not reparse or re-compose the name.

Bug: 3473362

Change-Id: I4fe5f0d06757b2fe098a5bd895c84108195049e9
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
eeb68a341734ded343004d4eecb585420e70605b 25-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Posting focus request after adding a new field in the contact editor.

Also, making the contact name selected on the activity start

Bug: 3403046
Change-Id: Ic6baf9d4404237d62bca3cdabc41a14422236a3c
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
c863b0171f2a54a0ee71b34b33034aeea2464cca 25-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Remove confirmation dialog when cancel empty new contact

Bug: 3487518
Change-Id: I3d47b9249efd634e2ce21e6fbea19fe68f3d3ccd
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
ce37f3017c666bcea483a75322e80d5cc1ba6f64 16-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Preserving editor status on rotation

Bug: 3452739
Change-Id: I9127ad4b37ff2a50123cde5b4e3ae8b4021e14e9
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
f9ca423c867ab2cd4f0d9025a95436489c41d405 16-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Simplifying status management when launching subactivities

Bug: 3460703
Change-Id: Ibeabe952b5f22f0ac9de0d0f770284535a847d62
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
cd1b9a29458d30ec74cf94dc9945cbdb6186a68e 16-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Preventing NPE in aggregation suggestion UI

Bug: 3438193
Change-Id: I0a30d99339268e388d310720b52137022a3a44fe
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a9333790f027d59a2edfd4a98c0392b144577416 15-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Disabling aggregation suggestions while contact is being saved

Bug: 3457627
Change-Id: Id3bce3540ca83166a9c4f795c9b4aeab07d7c8ae
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a011414b12955a91c8f3efe528f374654d930098 15-Feb-2011 Dmitri Plotnikov <dplotnikov@google.com> Moving contact saving to the service

Bug: 3220304
Bug: 3452739
Change-Id: If4124096a24e5dd302feb5338efaaa8398b2cb6b
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
248fba273e867616b1f8973dac6ce3e5ee1ba544 27-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE on attaching a photo in portrait mode

Bug: 3395746
Change-Id: I631276d4777fa7ffba76ebfb87939c07c066810e
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
4292dfa46123a6c0e1de9862b4d8694bfb87875a 23-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing alert dialog icon.

Also fixing selector in the contact editor.

Bug: 3377396
Change-Id: I34ca2e419158fe7869ffda4679ea60fa3c5fdb00
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
300835057b93255412059f236b4df59c706091ed 21-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in contact aggregation suggestions

Bug: 3374369
Change-Id: I09e387e93673ce8e767f6c0ede4e279c6fe97733
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
dd0dee6c55ea83d541b28e90cd4ad87ffd026f68 19-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Treating Join request as a regular save/reload.

Bug: 3362504
Change-Id: I5b5d97ed07c25e3a349d47b812efeb113d52a685
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
150cf5d82bf8655fbd6934d98c4a8f374e429fb9 14-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE in ContactEditorFragment

Bug: 3351000

Change-Id: I4c16d6e4b1e6c40caca7b94c5a4ea9e4e060e2ba
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
a07fa5f37031e4c5cd2933de02d2db41ec153e2b 09-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming AccountTypes to AccountTypeManager.

The intent is to turn it into a "system service" of sorts.

Change-Id: I047d70a2e59978c05916965ef0c0d9f18abc55e6
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
b77be6d2ad06edfd8751f55043e4aa9fd9f36015 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Removing inflation levels from AccountType.

Also, fixing asynchronous update and concurrency issues.

Bug: 3140873

Change-Id: Ie9d342d23ee4a8d23405ef4145c54d7673b2cbe9
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
69f9e6f0cd9b5401da55f251e9bd98e69643d7df 04-Jan-2011 Dmitri Plotnikov <dplotnikov@google.com> Renaming fields and variables from "source" to "accountType"

Change-Id: Ie41036e35a45fc7d9a8c934a3cbe68399c567ad6
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
fff6f07a02d3e3bbeff2ecf94a703782b71aea66 22-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding support for 3rd party contact editing

Change-Id: I0379f7392a23aea68d0f59a9869bb72275f5bddb
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
73a45b4ad96b21f468dbacde0da213d190979835 21-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Fixing NPE on join contact activity.

The monkey hit Menu=>Join and then quickly Back.
By the time the async task was done and we were
ready to start the join activity, the editor activity
was already closed.

Bug: 3299389
Change-Id: Ib98f2dc9e815a123636f85972888f3b571841015
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
9d2bcfb40d0ee107886eb99eba13a840e944ba43 20-Dec-2010 Dianne Hackborn <hackbod@google.com> Update to new Loader APIs.

Change-Id: I4be23901304890e1d0237d81e6cfb3889d5b6591
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
4ef95cc3329b4ad9fa450e4090efaad9935d493f 16-Dec-2010 Dianne Hackborn <hackbod@google.com> Prepare for some changes to LoaderManager/Loader.

Sorry it is a bit ugly, it is to allow this change to be
checked in prior to the first stage of the framework change
without breaking the build.

Change-Id: Ic781324da69a06ef30a0b34cd4e16d561c9c7df2
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
4ecb7028746a36c4febb831ba30a07d353e89e16 16-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Making contact filter focusable

Change-Id: I6d4407074c407034db5292064091bea3c63c8189
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
d3eedfc5f518a081d76d6b9e31a39c5adf988bc0 16-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Adding a confirmation dialog for canceling out of contact editor

Bug: 3144593
Change-Id: Icd6c9f96d9d2fd4ad84ba38711d0af874258dba5
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.java
02bb1252aa990813fa9e86ad75c458acc15e6801 06-Dec-2010 Dmitri Plotnikov <dplotnikov@google.com> Removing progress dialog when saving a contact

Bug: 3253127
Change-Id: Ifd3b58f202fea76596880fb6de9f8acc46a32d79
/packages/apps/Contacts/src/com/android/contacts/editor/ContactEditorFragment.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/ContactEditorFragment.java