OSDN Git Service

android-x86/packages-apps-Contacts.git
14 years agoam 160b8a9f: Merge change 25522 into eclair
Eric Fischer [Thu, 17 Sep 2009 21:38:56 +0000 (14:38 -0700)]
am 160b8a9f: Merge change 25522 into eclair

Merge commit '160b8a9f6de78161c78955291b8fa793329ea879' into eclair-plus-aosp

* commit '160b8a9f6de78161c78955291b8fa793329ea879':
  Second try at fixing replacement of a range of digits with a pause.

14 years agoMerge change 25522 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 20:51:50 +0000 (16:51 -0400)]
Merge change 25522 into eclair

* changes:
  Second try at fixing replacement of a range of digits with a pause.

14 years agoam 30a423c0: GET_CONTENT expects an "item" type not a "dir" type.
Evan Millar [Thu, 17 Sep 2009 20:50:24 +0000 (13:50 -0700)]
am 30a423c0: GET_CONTENT expects an "item" type not a "dir" type.

Merge commit '30a423c0490c80d6845e7abff74a2d43067251e0' into eclair-plus-aosp

* commit '30a423c0490c80d6845e7abff74a2d43067251e0':
  GET_CONTENT expects an "item" type not a "dir" type.

14 years agoGET_CONTENT expects an "item" type not a "dir" type.
Evan Millar [Thu, 17 Sep 2009 16:06:57 +0000 (09:06 -0700)]
GET_CONTENT expects an "item" type not a "dir" type.

Change-Id: Ic8ad117537b4f91d05ef83aba2cb03f1ad2b004a

14 years agoam c7ab59e2: Fix http://b/issue?id=2085793
Evan Millar [Thu, 17 Sep 2009 20:40:42 +0000 (13:40 -0700)]
am c7ab59e2: Fix http://b/issue?id=2085793

Merge commit 'c7ab59e212ce4b7d2b23143ebbdce2c0aedd1187' into eclair-plus-aosp

* commit 'c7ab59e212ce4b7d2b23143ebbdce2c0aedd1187':
  Fix http://b/issue?id=2085793

14 years agoSecond try at fixing replacement of a range of digits with a pause.
Eric Fischer [Thu, 17 Sep 2009 17:53:10 +0000 (10:53 -0700)]
Second try at fixing replacement of a range of digits with a pause.

It was still not working all the time, because the automatic number
formatter could change the buffer offsets in between the deletion of
the old digits and the insertion of the pause character.  Do it as
a single operation so that nothing can happen in between.

14 years agoFix http://b/issue?id=2085793
Evan Millar [Wed, 16 Sep 2009 17:55:33 +0000 (10:55 -0700)]
Fix http://b/issue?id=2085793

-Also fixes problems with the call button divider not disappearing when
the call button was gone.

-Also populates the typeList for the "fallback" source, for phone,
email, and postal DataKinds. The type lists are the unions of the focus
and exchange typeLists.

Change-Id: Idd68760d852e4accdcf3043007253e122bd5534b

14 years agoam 3b1a3550: Merge change 25432 into eclair
Jeff Sharkey [Thu, 17 Sep 2009 15:45:24 +0000 (08:45 -0700)]
am 3b1a3550: Merge change 25432 into eclair

Merge commit '3b1a35503f6ea58e14a3c466ffe2e3522b5e47c4' into eclair-plus-aosp

* commit '3b1a35503f6ea58e14a3c466ffe2e3522b5e47c4':
  Finish up using Contract phone types for EAS.

14 years agoam 9625d4bb: Merge change 25294 into eclair
Evan Millar [Thu, 17 Sep 2009 15:38:57 +0000 (08:38 -0700)]
am 9625d4bb: Merge change 25294 into eclair

Merge commit '9625d4bb03876639ca4950390414c8863e405a99' into eclair-plus-aosp

* commit '9625d4bb03876639ca4950390414c8863e405a99':
  Adjust to new ContactHeaderWidget api.

14 years agoMerge change 25432 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 03:00:45 +0000 (23:00 -0400)]
Merge change 25432 into eclair

* changes:
  Finish up using Contract phone types for EAS.

14 years agoFinish up using Contract phone types for EAS.
Jeff Sharkey [Thu, 17 Sep 2009 02:59:27 +0000 (19:59 -0700)]
Finish up using Contract phone types for EAS.

Fixes http://b/2092744

14 years agoMerge change 25294 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 21:39:47 +0000 (17:39 -0400)]
Merge change 25294 into eclair

* changes:
  Adjust to new ContactHeaderWidget api.

14 years agoAdjust to new ContactHeaderWidget api.
Evan Millar [Wed, 16 Sep 2009 17:26:10 +0000 (10:26 -0700)]
Adjust to new ContactHeaderWidget api.

Change-Id: Ia56c026d4fba16d4846e794229ec41611792ac4b

14 years agoam 87ca9541: Fix legacy support of viewing contacts in pick list
Neel Parekh [Wed, 16 Sep 2009 17:12:47 +0000 (10:12 -0700)]
am 87ca9541: Fix legacy support of viewing contacts in pick list

Merge commit '87ca9541eb355e90bf5b82230804621b9f640e55' into eclair-plus-aosp

* commit '87ca9541eb355e90bf5b82230804621b9f640e55':
  Fix legacy support of viewing contacts in pick list

14 years agoFix legacy support of viewing contacts in pick list
Neel Parekh [Wed, 16 Sep 2009 03:08:50 +0000 (20:08 -0700)]
Fix legacy support of viewing contacts in pick list

Bug: 2099535

14 years agoam 53568154: Show unsynced groups clearly in separate item, don\'t annoy.
Jeff Sharkey [Wed, 16 Sep 2009 06:31:02 +0000 (23:31 -0700)]
am 53568154: Show unsynced groups clearly in separate item, don\'t annoy.

Merge commit '53568154f21e0e6f676522247390c371873c778b' into eclair-plus-aosp

* commit '53568154f21e0e6f676522247390c371873c778b':
  Show unsynced groups clearly in separate item, don't annoy.

14 years agoShow unsynced groups clearly in separate item, don't annoy.
Jeff Sharkey [Wed, 16 Sep 2009 06:21:49 +0000 (23:21 -0700)]
Show unsynced groups clearly in separate item, don't annoy.

This change adds a new "More groups..." list item under the
expandable list for a data source when it has any unsynced
groups, making it more discoverable for users to bring back
unsynced groups.  This fixes http://b/2084771

Also cleans up lingering issues so we show unsynced groups
from the correct accounts, and only prompt the user once
about removing "ungrouped."  Fixes http://b/2114723

14 years agoam e50d64d1: Separate tab and state models, fix delete issues, dialogs.
Jeff Sharkey [Wed, 16 Sep 2009 05:00:18 +0000 (22:00 -0700)]
am e50d64d1: Separate tab and state models, fix delete issues, dialogs.

Merge commit 'e50d64d1e9eb321735c94a15b1a20a59a19cc421' into eclair-plus-aosp

* commit 'e50d64d1e9eb321735c94a15b1a20a59a19cc421':
  Separate tab and state models, fix delete issues, dialogs.

14 years agoSeparate tab and state models, fix delete issues, dialogs.
Jeff Sharkey [Wed, 16 Sep 2009 02:52:40 +0000 (19:52 -0700)]
Separate tab and state models, fix delete issues, dialogs.

Maintain a separate model for tabs and the underlying state
so that we hide tabs for RawContacts deleted during the
edit session.  Also bail out when the last tab deleted.

Manage dialogs so we don't leak activities.  Parse legacy
IM types.  Fixes http://b/2122838

14 years agoam 75b20e00: Merge change 25208 into eclair
Daisuke Miyakawa [Wed, 16 Sep 2009 02:40:03 +0000 (19:40 -0700)]
am 75b20e00: Merge change 25208 into eclair

Merge commit '75b20e006308672b9e9c2e39489cf3eae4ebf4bd' into eclair-plus-aosp

* commit '75b20e006308672b9e9c2e39489cf3eae4ebf4bd':
  Use Account information if possible when importing some vCard file(s).

14 years agoMerge change 25208 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:33:16 +0000 (22:33 -0400)]
Merge change 25208 into eclair

* changes:
  Use Account information if possible when importing some vCard file(s).

14 years agoUse Account information if possible when importing some vCard file(s).
Daisuke Miyakawa [Wed, 16 Sep 2009 02:22:04 +0000 (19:22 -0700)]
Use Account information if possible when importing some vCard file(s).

internal issue: 21162162102720

14 years agoam 89d34862: Merge change 25180 into eclair
Jeff Sharkey [Wed, 16 Sep 2009 00:55:57 +0000 (17:55 -0700)]
am 89d34862: Merge change 25180 into eclair

Merge commit '89d34862e313f8b57f58475e7bb1840c9e5c48bf' into eclair-plus-aosp

* commit '89d34862e313f8b57f58475e7bb1840c9e5c48bf':
  Prevent unstateful edits, empty trimming, INSERT edge cases.

14 years agoMerge change 25180 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:51:32 +0000 (20:51 -0400)]
Merge change 25180 into eclair

* changes:
  Prevent unstateful edits, empty trimming, INSERT edge cases.

14 years agoPrevent unstateful edits, empty trimming, INSERT edge cases.
Jeff Sharkey [Wed, 16 Sep 2009 00:51:08 +0000 (17:51 -0700)]
Prevent unstateful edits, empty trimming, INSERT edge cases.

Monkeys found some edge cases that could perform actions
when editor was in an invalid state.  Added validity checks
in about a dozen places to prevent.  Fixes http://b/2121368
and http://b/2115921

Hook up trimming of extra empty fields that users have
left blank, including dropping of entire RawContact if no
valid fields remain.  Also wrote a pile of unit tests to
verify behavior.  Fixes http://b/2112915

Don't CCO when inserting bundles that use CharSequence
instead of Strings.  Don't NPE when inserting bundles and
we encounter a DataKind that the chosen ContactsSource isn't
able to handle.  Fixes http://b/2105737 and http://b/2118580

Insert bundles for INSERT_AND_EDIT cases where user chose
to edit an existing contact.  Fixes http://b/2098856 and
http://b/1645578

Adopted new framework back key API from hackbod.

14 years agoam 815bb3ba: Use the new FasttrackBadgeWidget in the ContactsListActivity.
Evan Millar [Wed, 16 Sep 2009 00:02:24 +0000 (17:02 -0700)]
am 815bb3ba: Use the new FasttrackBadgeWidget in the ContactsListActivity.

Merge commit '815bb3ba449a63716908dbdefd214a0c220965db' into eclair-plus-aosp

* commit '815bb3ba449a63716908dbdefd214a0c220965db':
  Use the new FasttrackBadgeWidget in the ContactsListActivity.

14 years agoUse the new FasttrackBadgeWidget in the ContactsListActivity.
Evan Millar [Thu, 27 Aug 2009 22:59:36 +0000 (15:59 -0700)]
Use the new FasttrackBadgeWidget in the ContactsListActivity.

Change-Id: Ib75d6b861f06e1bb9db06f6416ca0ac46fa08363

14 years agoam a62e6db0: Fix the address coming from maps.
Neel Parekh [Tue, 15 Sep 2009 18:48:56 +0000 (11:48 -0700)]
am a62e6db0: Fix the address coming from maps.

Merge commit 'a62e6db031a02bb04a57049839545e378d3b72c2' into eclair-plus-aosp

* commit 'a62e6db031a02bb04a57049839545e378d3b72c2':
  Fix the address coming from maps.

14 years agoFix the address coming from maps.
Neel Parekh [Mon, 14 Sep 2009 23:13:22 +0000 (16:13 -0700)]
Fix the address coming from maps.

Bug: 2101939

14 years agoam f4455409: Change the text if no favorites exist.
Neel Parekh [Tue, 15 Sep 2009 18:23:41 +0000 (11:23 -0700)]
am f4455409: Change the text if no favorites exist.

Merge commit 'f4455409e189176e78f93bc242955e8d05d3b7b5' into eclair-plus-aosp

* commit 'f4455409e189176e78f93bc242955e8d05d3b7b5':
  Change the text if no favorites exist.

14 years agoChange the text if no favorites exist.
Neel Parekh [Tue, 15 Sep 2009 01:00:09 +0000 (18:00 -0700)]
Change the text if no favorites exist.

Bug: 2102959

14 years agoam 242599a0: Execute back key on key up.
Dianne Hackborn [Tue, 15 Sep 2009 04:50:03 +0000 (21:50 -0700)]
am 242599a0: Execute back key on key up.

Merge commit '242599a0f1ab23e2a46eff963484a70ec7981bef' into eclair-plus-aosp

* commit '242599a0f1ab23e2a46eff963484a70ec7981bef':
  Execute back key on key up.

14 years agoExecute back key on key up.
Dianne Hackborn [Tue, 15 Sep 2009 04:33:24 +0000 (21:33 -0700)]
Execute back key on key up.

Change-Id: Ic878e145f68f3a2b4e8167d4df0685c9d63462f2

14 years agoam 5aaa36a1: Change the text to not include SIM if working on a CDMA phone
Neel Parekh [Mon, 14 Sep 2009 22:18:54 +0000 (15:18 -0700)]
am 5aaa36a1: Change the text to not include SIM if working on a CDMA phone

Merge commit '5aaa36a1a3ee0e820c23f43a9c1429a8fd9a2b3b' into eclair-plus-aosp

* commit '5aaa36a1a3ee0e820c23f43a9c1429a8fd9a2b3b':
  Change the text to not include SIM if working on a CDMA phone

14 years agoChange the text to not include SIM if working on a CDMA phone
Neel Parekh [Mon, 14 Sep 2009 17:47:43 +0000 (10:47 -0700)]
Change the text to not include SIM if working on a CDMA phone

Bug: 2031065

14 years agoam 803c2ed6: Merge change 24893 into eclair
Evan Millar [Mon, 14 Sep 2009 21:02:36 +0000 (14:02 -0700)]
am 803c2ed6: Merge change 24893 into eclair

Merge commit '803c2ed6eab08ff0a137a59c329eceac38099b7d' into eclair-plus-aosp

* commit '803c2ed6eab08ff0a137a59c329eceac38099b7d':
  More call log and favorites list UI changes.

14 years agoMerge change 24893 into eclair
Android (Google) Code Review [Mon, 14 Sep 2009 20:54:39 +0000 (16:54 -0400)]
Merge change 24893 into eclair

* changes:
  More call log and favorites list UI changes.

14 years agoMore call log and favorites list UI changes.
Evan Millar [Mon, 14 Sep 2009 17:53:49 +0000 (10:53 -0700)]
More call log and favorites list UI changes.

Change-Id: Ie108539f5d116898a82586ddce3ec99c95a5bb34

14 years agoam b77a6d9f: Change display groups "only phones" filter to checkbox
Neel Parekh [Mon, 14 Sep 2009 20:23:23 +0000 (13:23 -0700)]
am b77a6d9f: Change display groups "only phones" filter to checkbox

Merge commit 'b77a6d9fcb489aa9aa794858f7715ed1a5b9319e' into eclair-plus-aosp

* commit 'b77a6d9fcb489aa9aa794858f7715ed1a5b9319e':
  Change display groups "only phones" filter to checkbox

14 years agoChange display groups "only phones" filter to checkbox
Neel Parekh [Mon, 14 Sep 2009 18:57:20 +0000 (11:57 -0700)]
Change display groups "only phones" filter to checkbox

Bug: 2110776

14 years agoam 2428f624: Add new MIME-type to launch contacts list.
Jeff Sharkey [Sun, 13 Sep 2009 08:15:09 +0000 (01:15 -0700)]
am 2428f624: Add new MIME-type to launch contacts list.

Merge commit '2428f624b85b15d528e9fe26e3365e6963afaa08' into eclair-plus-aosp

* commit '2428f624b85b15d528e9fe26e3365e6963afaa08':
  Add new MIME-type to launch contacts list.

14 years agoam 0e3ff31c: Merge change 24701 into eclair
Evan Millar [Sun, 13 Sep 2009 08:15:05 +0000 (01:15 -0700)]
am 0e3ff31c: Merge change 24701 into eclair

Merge commit '0e3ff31c840c13e3d23a2db38c1d61aaa394acc3' into eclair-plus-aosp

* commit '0e3ff31c840c13e3d23a2db38c1d61aaa394acc3':
  Add call button to favorites, and move button to right side of call log.

14 years agoAdd new MIME-type to launch contacts list.
Jeff Sharkey [Sun, 13 Sep 2009 08:08:43 +0000 (01:08 -0700)]
Add new MIME-type to launch contacts list.

14 years agoMerge change 24701 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 21:47:02 +0000 (17:47 -0400)]
Merge change 24701 into eclair

* changes:
  Add call button to favorites, and move button to right side of call log.

14 years agoam 250db2bb: Correctly check for empty state when leaving editor early.
Jeff Sharkey [Fri, 11 Sep 2009 21:45:51 +0000 (14:45 -0700)]
am 250db2bb: Correctly check for empty state when leaving editor early.

Merge commit '250db2bbfbade27c5607719fb84bddbd7e1af70e' into eclair-plus-aosp

* commit '250db2bbfbade27c5607719fb84bddbd7e1af70e':
  Correctly check for empty state when leaving editor early.

14 years agoCorrectly check for empty state when leaving editor early.
Jeff Sharkey [Fri, 11 Sep 2009 21:22:31 +0000 (14:22 -0700)]
Correctly check for empty state when leaving editor early.

Fixes http://b/2112520 and http://b/2114480

14 years agoAdd call button to favorites, and move button to right side of call log.
Evan Millar [Thu, 10 Sep 2009 23:25:28 +0000 (16:25 -0700)]
Add call button to favorites, and move button to right side of call log.

Change-Id: I7445ceee5f7cd39b037feb80f04fb61153a6db02

14 years agoam 40b34b98: Bring positions back into photo setTag() for FT launching.
Jeff Sharkey [Fri, 11 Sep 2009 20:51:36 +0000 (13:51 -0700)]
am 40b34b98: Bring positions back into photo setTag() for FT launching.

Merge commit '40b34b98d7e8456d78b1982885323dd4d87e4fc8' into eclair-plus-aosp

* commit '40b34b98d7e8456d78b1982885323dd4d87e4fc8':
  Bring positions back into photo setTag() for FT launching.

14 years agoBring positions back into photo setTag() for FT launching.
Jeff Sharkey [Fri, 11 Sep 2009 20:22:18 +0000 (13:22 -0700)]
Bring positions back into photo setTag() for FT launching.

Earlier change had switched setTag() to store Photos._ID
values instead of list positions.  This broke FastTrack
launching from lists.

This change adds a container class so both values happily
live in the same tag.  Fixes http://b/2114632

14 years agoam 5231f475: Merge change 24628 into eclair
Eric Fischer [Fri, 11 Sep 2009 18:08:39 +0000 (11:08 -0700)]
am 5231f475: Merge change 24628 into eclair

Merge commit '5231f475b806610b4c9a64369aae5144fa2ee01d' into eclair-plus-aosp

* commit '5231f475b806610b4c9a64369aae5144fa2ee01d':
  Fix an exception in Contacts when you select text backwards from the end.

14 years agoMerge change 24628 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 18:04:47 +0000 (14:04 -0400)]
Merge change 24628 into eclair

* changes:
  Fix an exception in Contacts when you select text backwards from the end.

14 years agoam 7875e28e: [Issue 2113852] Fixing mismatches between pictures and contacts
Dmitri Plotnikov [Fri, 11 Sep 2009 17:26:06 +0000 (10:26 -0700)]
am 7875e28e: [Issue 2113852] Fixing mismatches between pictures and contacts

Merge commit '7875e28ef8de870fff0e67ca3d8de02758136029' into eclair-plus-aosp

* commit '7875e28ef8de870fff0e67ca3d8de02758136029':
  [Issue 2113852] Fixing mismatches between pictures and contacts

14 years ago[Issue 2113852] Fixing mismatches between pictures and contacts
Dmitri Plotnikov [Fri, 11 Sep 2009 17:14:37 +0000 (10:14 -0700)]
[Issue 2113852] Fixing mismatches between pictures and contacts

Change-Id: Iea49a8b995632753b71572105c8443f4a63ad6d7

14 years agoam d35b3906: Add StructuredPostal editor for EAS. Fixes http://b/2111725
Jeff Sharkey [Fri, 11 Sep 2009 01:01:24 +0000 (18:01 -0700)]
am d35b3906: Add StructuredPostal editor for EAS.  Fixes b/2111725

Merge commit 'd35b3906a81e564011b2cee950e274afea3205d9' into eclair-plus-aosp

* commit 'd35b3906a81e564011b2cee950e274afea3205d9':
  Add StructuredPostal editor for EAS.  Fixes http://b/2111725

14 years agoFix an exception in Contacts when you select text backwards from the end.
Eric Fischer [Fri, 11 Sep 2009 00:57:45 +0000 (17:57 -0700)]
Fix an exception in Contacts when you select text backwards from the end.

It was assuming that the end of the selection always came after or at the
start of the selection, and that therefore (start,end) was a safe range
to replace, but this is not actually the case when you select backwards --
in this case, the end comes before the start.

Bug 2087034

14 years agoAdd StructuredPostal editor for EAS. Fixes http://b/2111725
Jeff Sharkey [Fri, 11 Sep 2009 00:41:52 +0000 (17:41 -0700)]
Add StructuredPostal editor for EAS.  Fixes b/2111725

14 years agoam 01f4cafd: Merge change 24599 into eclair
Dmitri Plotnikov [Thu, 10 Sep 2009 23:27:01 +0000 (16:27 -0700)]
am 01f4cafd: Merge change 24599 into eclair

Merge commit '01f4cafd6a6a388e08408e906939105dacbf2c97' into eclair-plus-aosp

* commit '01f4cafd6a6a388e08408e906939105dacbf2c97':
  [Issue 2112887] Fixing picture display in the manual contact join UI

14 years agoMerge change 24599 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 23:22:44 +0000 (19:22 -0400)]
Merge change 24599 into eclair

* changes:
  [Issue 2112887] Fixing picture display in the manual contact join UI

14 years agoam 6f8d46b5: Insert, update, delete photos. Trim empty fields.
Jeff Sharkey [Thu, 10 Sep 2009 23:22:10 +0000 (16:22 -0700)]
am 6f8d46b5: Insert, update, delete photos.  Trim empty fields.

Merge commit '6f8d46b5fb96c2bead1317aae93a73fc89b093ab' into eclair-plus-aosp

* commit '6f8d46b5fb96c2bead1317aae93a73fc89b093ab':
  Insert, update, delete photos.  Trim empty fields.

14 years agoInsert, update, delete photos. Trim empty fields.
Jeff Sharkey [Thu, 10 Sep 2009 22:02:32 +0000 (15:02 -0700)]
Insert, update, delete photos.  Trim empty fields.

Allow photo changes when the ContactsSource allows Photo
entries.  This change also trims out any inserted or updated
fields that are now "empty" according to their respective
DataKind fields.  Wrote unit tests for field trimming to
ensure wiping works.  Fixes http://b/2050549

14 years ago[Issue 2112887] Fixing picture display in the manual contact join UI
Dmitri Plotnikov [Thu, 10 Sep 2009 17:59:34 +0000 (10:59 -0700)]
[Issue 2112887] Fixing picture display in the manual contact join UI

Change-Id: Ibf747091532b4c03fb29594d79c0156465437779

14 years agoam 6fbf4e0b: Fix bug 2110011
Evan Millar [Thu, 10 Sep 2009 21:36:35 +0000 (14:36 -0700)]
am 6fbf4e0b: Fix bug 2110011

Merge commit '6fbf4e0bcd52f60cc80f317fe20510c67e9c00d7' into eclair-plus-aosp

* commit '6fbf4e0bcd52f60cc80f317fe20510c67e9c00d7':
  Fix bug 2110011

14 years agoFix bug 2110011
Evan Millar [Thu, 10 Sep 2009 19:30:03 +0000 (12:30 -0700)]
Fix bug 2110011

Change-Id: Ib4aee767d11a8ae71d55815908e89c1097041f60

14 years agoam 14fecb6d: Show a disambig dialoge to choose a number when initiating a call on...
Evan Millar [Thu, 10 Sep 2009 19:19:12 +0000 (12:19 -0700)]
am 14fecb6d: Show a disambig dialoge to choose a number when initiating a call on a contact.

Merge commit '14fecb6de54a95e85846e4d30a66a7fe5beebce3' into eclair-plus-aosp

* commit '14fecb6de54a95e85846e4d30a66a7fe5beebce3':
  Show a disambig dialoge to choose a number when initiating a call on a contact.

14 years agoShow a disambig dialoge to choose a number when initiating a call on a contact.
Evan Millar [Wed, 9 Sep 2009 16:23:12 +0000 (09:23 -0700)]
Show a disambig dialoge to choose a number when initiating a call on a contact.

This fixes 2098966

Change-Id: I6fd80a2fe25ab1b6d36d913cb96c7927939512b7

14 years agoam 360aa68d: Fix the hardcoded sources for Facebook. The fallback sources don\'t...
Jeff Hamilton [Thu, 10 Sep 2009 17:55:01 +0000 (10:55 -0700)]
am 360aa68d: Fix the hardcoded sources for Facebook. The fallback sources don\'t do what I thought they did.

Merge commit '360aa68d9d1451290ff7448b2a6bffdede5cb9d0' into eclair-plus-aosp

* commit '360aa68d9d1451290ff7448b2a6bffdede5cb9d0':
  Fix the hardcoded sources for Facebook. The fallback sources don't do what I thought they did.

14 years agoFix the hardcoded sources for Facebook. The fallback sources don't do what I thought...
Jeff Hamilton [Thu, 10 Sep 2009 17:20:06 +0000 (10:20 -0700)]
Fix the hardcoded sources for Facebook. The fallback sources don't do what I thought they did.

Change-Id: I3383ac47b32b82f7b34acc114b0e9b61746a525e

14 years agoam 49d17b3e: Lookup uris, delete, aggregation rules, untyped, sharing.
Jeff Sharkey [Thu, 10 Sep 2009 10:34:11 +0000 (03:34 -0700)]
am 49d17b3e: Lookup uris, delete, aggregation rules, untyped, sharing.

Merge commit '49d17b3e7692ae9442c342db236fa93d4a837c28' into eclair-plus-aosp

* commit '49d17b3e7692ae9442c342db236fa93d4a837c28':
  Lookup uris, delete, aggregation rules, untyped, sharing.

14 years agoLookup uris, delete, aggregation rules, untyped, sharing.
Jeff Sharkey [Mon, 7 Sep 2009 09:14:21 +0000 (02:14 -0700)]
Lookup uris, delete, aggregation rules, untyped, sharing.

ContactsListView: combined together various import/export
menus under single dialog, hiding SIM import when no ICC
present.  Switched almost all cases to use soft "lookup"
uris, especially for pick and operation cases.  Brought
back delete in long-press menu, and pick modes needed for
SHOW_OR_CREATE.  These partially fix http://b/2096050 and
http://b/2096870 and http://b/2102632

ViewContactActivity: changed menus to inflate from XML,
added "Share" option to replace barcode.  Confirmed that it
sends vCard through Gmail, other apps can match MIME-type
to begin appearing in picker.  Changed EAS rules back to
untyped for Email and IM, which now allows use to use IM
type as protocol picker.  Fixes http://b/2072731 and
http://b/2092744 and http://b/2088935

EditContactActivity: restructured editing to front-load all
version assertions, and perform as single batch to prepare
for reparenting.  Correctly generate AggregationExceptions
using new API from dplotnikov, especially in cases where we
create multiple RawContacts from scratch.  Unit tests to
verify exceptions built correctly for edge cases.  Also
showing toast when saving failed.  These changes were mostly
untracked, but fixes http://b/2099211

Various untracked NPE related to untyped HardCodedSources
and cleanup of "tel" "smsto" and SMS MIME-type constants.

14 years agoam 29d48e7b: Show organization company and postion instead of "Organization" and...
Evan Millar [Wed, 9 Sep 2009 16:33:27 +0000 (09:33 -0700)]
am 29d48e7b: Show organization company and postion instead of "Organization" and position.

Merge commit '29d48e7bb03d5a75049cbbc7b9bd51a3001dcbb8' into eclair-plus-aosp

* commit '29d48e7bb03d5a75049cbbc7b9bd51a3001dcbb8':
  Show organization company and postion instead of "Organization" and position.

14 years agoam 320c34a6: Fix for bug 2100165.
Evan Millar [Wed, 9 Sep 2009 16:33:23 +0000 (09:33 -0700)]
am 320c34a6: Fix for bug 2100165.

Merge commit '320c34a674bcb3209ce8e7a22d58c17cd0259da2' into eclair-plus-aosp

* commit '320c34a674bcb3209ce8e7a22d58c17cd0259da2':
  Fix for bug 2100165.

14 years agoShow organization company and postion instead of "Organization" and position.
Evan Millar [Fri, 4 Sep 2009 22:26:36 +0000 (15:26 -0700)]
Show organization company and postion instead of "Organization" and position.

Fixes bug 2101949

Change-Id: Ia6c96eb05b95bac3a7510a8d9d9312bd2ac9209d

14 years agoFix for bug 2100165.
Evan Millar [Fri, 4 Sep 2009 21:07:44 +0000 (14:07 -0700)]
Fix for bug 2100165.

Change-Id: Id147518259b94b1f398e538d0b7b509afd346006

14 years agoam 8487fed4: Fix issue 1992233: DTMF tones on Sholes is really long.
Eric Laurent [Wed, 9 Sep 2009 06:09:18 +0000 (23:09 -0700)]
am 8487fed4: Fix issue 1992233: DTMF tones on Sholes is really long.

Merge commit '8487fed410beaeb86a1eed733dcc62a6cc36875b' into eclair-plus-aosp

* commit '8487fed410beaeb86a1eed733dcc62a6cc36875b':
  Fix issue 1992233: DTMF tones on Sholes is really long.

14 years agoFix issue 1992233: DTMF tones on Sholes is really long.
Eric Laurent [Mon, 7 Sep 2009 15:45:14 +0000 (08:45 -0700)]
Fix issue 1992233: DTMF tones on Sholes is really long.

Do not use a delayed message to define the DTMF tone duration. Use the duration parameter in ToneGenerator.startTone() instead. This garanties that the actual tone duration is independent from the filling level of the audio buffers when the tone starts.

14 years agoam b865df0a: Import revised translations. DO NOT MERGE
Eric Fischer [Wed, 9 Sep 2009 00:05:05 +0000 (17:05 -0700)]
am b865df0a: Import revised translations.  DO NOT MERGE

Merge commit 'b865df0ae3af8b5bdce7a4a3b51935a70d45b67b' into eclair-plus-aosp

* commit 'b865df0ae3af8b5bdce7a4a3b51935a70d45b67b':
  Import revised translations.  DO NOT MERGE

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 8 Sep 2009 23:26:49 +0000 (16:26 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoam 0f0d5541: Fix the display of social updates in the fast track, and the hard coded...
Jeff Hamilton [Tue, 8 Sep 2009 20:37:47 +0000 (13:37 -0700)]
am 0f0d5541: Fix the display of social updates in the fast track, and the hard coded Facebook sources.

Merge commit '0f0d55414e3952a674a1d95295116cda6ff000b6' into eclair-plus-aosp

* commit '0f0d55414e3952a674a1d95295116cda6ff000b6':
  Fix the display of social updates in the fast track, and the hard coded Facebook sources.

14 years agoFix the display of social updates in the fast track, and the hard coded Facebook...
Jeff Hamilton [Tue, 8 Sep 2009 18:21:42 +0000 (13:21 -0500)]
Fix the display of social updates in the fast track, and the hard coded Facebook sources.

Change-Id: Ifbb429ad5714bdd78a5571c4adc575b74f928649

14 years agoam f40ccdf8: Fixing contact aggregation exception API.
Dmitri Plotnikov [Sat, 5 Sep 2009 01:34:29 +0000 (18:34 -0700)]
am f40ccdf8: Fixing contact aggregation exception API.

Merge commit 'f40ccdf82bf8894aafebf6ede868c70ce2090897' into eclair-plus-aosp

* commit 'f40ccdf82bf8894aafebf6ede868c70ce2090897':
  Fixing contact aggregation exception API.

14 years agoFixing contact aggregation exception API.
Dmitri Plotnikov [Sat, 5 Sep 2009 00:37:15 +0000 (17:37 -0700)]
Fixing contact aggregation exception API.

14 years agomerge from open-source master
Jean-Baptiste Queru [Fri, 4 Sep 2009 14:51:18 +0000 (07:51 -0700)]
merge from open-source master

14 years agoFixing mime types for contact.GET_CONTENT intent
Dmitri Plotnikov [Thu, 3 Sep 2009 23:57:30 +0000 (16:57 -0700)]
Fixing mime types for contact.GET_CONTENT intent

14 years ago[Issue 2099504] Bypassing contact split dialog when there are only two raw contacts...
Dmitri Plotnikov [Thu, 3 Sep 2009 22:17:56 +0000 (15:17 -0700)]
[Issue 2099504] Bypassing contact split dialog when there are only two raw contacts in the aggregate

14 years agoResetting URI before a contact lookup
Dmitri Plotnikov [Thu, 3 Sep 2009 21:37:15 +0000 (14:37 -0700)]
Resetting URI before a contact lookup

14 years agomerge from donut
Jean-Baptiste Queru [Thu, 3 Sep 2009 21:13:12 +0000 (14:13 -0700)]
merge from donut

14 years agoSwitching to contact lookup URI in View Contact.
Dmitri Plotnikov [Thu, 3 Sep 2009 21:09:45 +0000 (14:09 -0700)]
Switching to contact lookup URI in View Contact.

This also fixes UI update after contact split.

14 years ago[Issue 2097203] Fixing a crash in manual contact join
Dmitri Plotnikov [Thu, 3 Sep 2009 17:21:06 +0000 (10:21 -0700)]
[Issue 2097203] Fixing a crash in manual contact join

14 years agoCorrectly change aggregation mode in all cases, unit tests.
Jeff Sharkey [Thu, 3 Sep 2009 05:55:59 +0000 (22:55 -0700)]
Correctly change aggregation mode in all cases, unit tests.

Fixed broken unit tests, and in the process corrected an
issue where we changed aggregation mode in some cases where
is wasn't needed.  (When updating but no values change.)

14 years agoShowing a toast when a contact shortcut leads nowhere.
Dmitri Plotnikov [Thu, 3 Sep 2009 02:04:41 +0000 (19:04 -0700)]
Showing a toast when a contact shortcut leads nowhere.

This is a temporary patch to prevent a crash.  We need a better UI solution.

14 years agoAdd Organization and Note kinds to Exchange viewing/editing
Evan Millar [Wed, 2 Sep 2009 23:42:47 +0000 (16:42 -0700)]
Add Organization and Note kinds to Exchange viewing/editing

Also add placeholder "chat" string to show as label for exchange im
items.

Fixes bug 2072710 and 2092920

Change-Id: I5c3ba0c73160f93b6d06b5b6a2ca20a84f56da18

14 years agoAdd missing import. Fix the build.
Evan Millar [Thu, 3 Sep 2009 00:53:25 +0000 (17:53 -0700)]
Add missing import. Fix the build.

Change-Id: I9ddf3cb6bf530c77fb89e0e2aa6505d6a52505c1

14 years agoFix http://b/issue?id=2086484 and http://b/issue?id=2087539
Evan Millar [Wed, 2 Sep 2009 21:33:38 +0000 (14:33 -0700)]
Fix b/issue?id=2086484 and http://b/issue?id=2087539

Change-Id: I392e52ac821a2eabd40c26024dbc587e6e63236f

14 years agoUse ContactsSource in View
Evan Millar [Wed, 2 Sep 2009 15:55:01 +0000 (08:55 -0700)]
Use ContactsSource in View

Combine BaseContactCardActivity and ViewContactActivity, since
EditContactActivity isn't using it anyway.

Use Entity querying, and ContactsSource in ViewContactActivity.

Change-Id: Idc0fb4d5d4e2637f5a345461362d55d4bfcb6cf2

14 years agoSpecify editors for fallback StructuredName.
Jeff Sharkey [Thu, 3 Sep 2009 00:29:29 +0000 (17:29 -0700)]
Specify editors for fallback StructuredName.

Fixes http://b/2096580

14 years agoUse "IM" for EAS-specific field titles.
Jeff Sharkey [Wed, 2 Sep 2009 19:00:40 +0000 (12:00 -0700)]
Use "IM" for EAS-specific field titles.

14 years agoRoll back (for now) to *all* low-density artwork in Contacts.
Daniel Sandler [Wed, 2 Sep 2009 18:11:13 +0000 (14:11 -0400)]
Roll back (for now) to *all* low-density artwork in Contacts.

This should end http://b/issue?id=2086871 by removing the high-density assets
introduced in <https://android-git.corp.google.com/w/?p=platform/packages/apps/Contacts.git;a=commit;h=bb769338d3ba4af769db147bae06e4f3ddc5030c>

They are way out of sync with the current version of Contacts and need to be replaced with updated versions.

Should fix http://b/2086871.

14 years agoFixing support for contact shortcuts.
Dmitri Plotnikov [Wed, 2 Sep 2009 15:44:32 +0000 (08:44 -0700)]
Fixing support for contact shortcuts.

14 years agoOlder EAS types, new Email field, fix count and INSERT bugs.
Jeff Sharkey [Tue, 1 Sep 2009 19:00:58 +0000 (12:00 -0700)]
Older EAS types, new Email field, fix count and INSERT bugs.

The EAS sync-adapter isn't ready to handle type-less Email
and IM entries yet, so bring back the original strongly-
typed editors.  Partially fixes http://b/2089080

Provide a second edit field for Email.DISPLAY_NAME when
editing EAS contacts.  Partially fixes http://b/2092744

Correct count when determining canInsert() for fields that
have typeOverallMax constraints.  Fixes http://b/2089132

Correctly build incoming StructuredName using existing
field, and check for empty fields to fix http://b/2078726

14 years agoMerge change 23475 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 20:12:00 +0000 (13:12 -0700)]
Merge change 23475 into eclair

* changes:
  Return appropriate URI for PICKER intents.