Add contact detail to existing contact
- Works for phone numbers and email addresses, otherwise route
intent to full contact editor
- Contact card icon / "OK" button first saves the change and then goes
to the contact card
- Port over from GB branch, updated references to non-existent classes,
added new layout to look more like QuickContacts/contact tile,
applied to ContactSelectionActivity instead of contacts list,
added support for non-editable contacts, fix layout for phone
landscape and tablet, inflate the right editor layout based on the
DataKind instead of emedding a TextFieldEditorView
directly inside the XML, use AsyncTask instead of WeakAsyncTask
- Fixed NonPhoneActivity intent flags so that the activity results
will work correctly (will allow contact card to be launched if user
requested to do so and the cancel button in the ConfirmAddDetailActivity
returns the user to the picker)
- Fixed activity theme for NonPhoneActivity to not show a title bar
- For a contact made up of multiple raw contacts, find the first
editable contact to add it to (instead of always picking the first one
which could be non-editable).
Bug: 4295003
Change-Id: I111eaf6bbc78861c2b6a27c93086d00697869ebb
9 files changed