OSDN Git Service

android-x86/packages-apps-Contacts.git
14 years agoam 43ce4049: (-s ours) am 906af3fb: (-s ours) Import revised translations. DO NOT...
Eric Fischer [Fri, 9 Oct 2009 00:32:54 +0000 (17:32 -0700)]
am 43ce4049: (-s ours) am 906af3fb: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '43ce404918a6d7de76e3d4c7057f6c804e377a36' into eclair-mr2

* commit '43ce404918a6d7de76e3d4c7057f6c804e377a36':
  Import revised translations.  DO NOT MERGE

14 years agoam e31dac84: Trim edit fields that don\'t contain printable values.
Jeff Sharkey [Fri, 9 Oct 2009 00:31:16 +0000 (17:31 -0700)]
am e31dac84: Trim edit fields that don\'t contain printable values.

Merge commit 'e31dac84479a4c7b356edfc062a447cdfb5efc69' into eclair-mr2

* commit 'e31dac84479a4c7b356edfc062a447cdfb5efc69':
  Trim edit fields that don't contain printable values.

14 years agoam b7da2d0f: Allow omission of RES_PACKAGE for status attributions.
Jeff Sharkey [Fri, 9 Oct 2009 00:29:47 +0000 (17:29 -0700)]
am b7da2d0f: Allow omission of RES_PACKAGE for status attributions.

Merge commit 'b7da2d0f30e012f786686bedea065af01f20a4e2' into eclair-mr2

* commit 'b7da2d0f30e012f786686bedea065af01f20a4e2':
  Allow omission of RES_PACKAGE for status attributions.

14 years agoMerge change I94ee30d0 into eclair-mr2
Android (Google) Code Review [Thu, 8 Oct 2009 22:18:45 +0000 (18:18 -0400)]
Merge change I94ee30d0 into eclair-mr2

* changes:
  Fix the layout issue reported in b/2167690

14 years agoam 906af3fb: (-s ours) Import revised translations. DO NOT MERGE
Eric Fischer [Thu, 8 Oct 2009 21:59:34 +0000 (14:59 -0700)]
am 906af3fb: (-s ours) Import revised translations.  DO NOT MERGE

Merge commit '906af3fbedb9034c84fd18139fa16d3f542d1f67' into eclair

* commit '906af3fbedb9034c84fd18139fa16d3f542d1f67':
  Import revised translations.  DO NOT MERGE

14 years agoFix the layout issue reported in b/2167690
Makoto Onuki [Thu, 8 Oct 2009 21:52:38 +0000 (14:52 -0700)]
Fix the layout issue reported in b/2167690

14 years agoMerge change I44f9de96 into eclair-mr2
Android (Google) Code Review [Thu, 8 Oct 2009 21:49:59 +0000 (17:49 -0400)]
Merge change I44f9de96 into eclair-mr2

* changes:
  Don't crash even when voiceMailNumber is null, which is a valid condition.

14 years agoMerge change Icf3aa797 into eclair-mr2
Android (Google) Code Review [Thu, 8 Oct 2009 19:34:22 +0000 (15:34 -0400)]
Merge change Icf3aa797 into eclair-mr2

* changes:
  Clean-up ImportVCardActivity and ExportVCardActivity

14 years agoTrim edit fields that don't contain printable values.
Jeff Sharkey [Thu, 8 Oct 2009 18:13:47 +0000 (11:13 -0700)]
Trim edit fields that don't contain printable values.

When persisting edit changes, trim data rows that have no
printable characters.  Also wrote unit tests for new method
and building of IM intents to check Uri escaping.

Fixes http://b/2173811

14 years agoDon't crash even when voiceMailNumber is null, which is a valid condition.
Makoto Onuki [Thu, 8 Oct 2009 18:55:54 +0000 (11:55 -0700)]
Don't crash even when voiceMailNumber is null, which is a valid condition.

Fixes bug internal issue 2162197

14 years agoClean-up ImportVCardActivity and ExportVCardActivity
Daisuke Miyakawa [Thu, 8 Oct 2009 18:18:40 +0000 (11:18 -0700)]
Clean-up ImportVCardActivity and ExportVCardActivity

- Pull "mVCardReadThread.start()" out of getter method, which is confusing.
- Add extra description to each file about "one-shot Activity".

14 years agoAllow omission of RES_PACKAGE for status attributions.
Jeff Sharkey [Thu, 8 Oct 2009 17:22:30 +0000 (10:22 -0700)]
Allow omission of RES_PACKAGE for status attributions.

FastTrack was being overly cautious about attribution labels
coming from third-party sources.  When no RES_PACKAGE is
defined, we now fall back to using the local package instead
of completely dropping the attribution line.

Fixes http://b/2175531

14 years agoDon't show a call button in the favorites list if the contact doesn't have a phone...
Evan Millar [Wed, 7 Oct 2009 16:26:59 +0000 (09:26 -0700)]
Don't show a call button in the favorites list if the contact doesn't have a phone number

Fixes bug http://b/issue?id=2151489

14 years agoam 43455184: Handle IM entries with missing protocol field.
Evan Millar [Thu, 8 Oct 2009 17:48:25 +0000 (10:48 -0700)]
am 43455184: Handle IM entries with missing protocol field.

Merge commit '434551849d279bd24ca132ba4102b0d55823f59e' into eclair-mr2

* commit '434551849d279bd24ca132ba4102b0d55823f59e':
  Handle IM entries with missing protocol field.

14 years agoam cee3b66d: Omit attribution icon in medium FastTrack.
Jeff Sharkey [Thu, 8 Oct 2009 17:48:22 +0000 (10:48 -0700)]
am cee3b66d: Omit attribution icon in medium FastTrack.

Merge commit 'cee3b66d58693707d08639b81be2c3ee2120ce6f' into eclair-mr2

* commit 'cee3b66d58693707d08639b81be2c3ee2120ce6f':
  Omit attribution icon in medium FastTrack.

14 years agoHandle IM entries with missing protocol field.
Evan Millar [Thu, 8 Oct 2009 17:24:12 +0000 (10:24 -0700)]
Handle IM entries with missing protocol field.

Fix bc_triaged bug http://b/issue?id=2174637
Dr. No approval from Tim Sullivan

Change-Id: Ia91c39e91a54e3c58ec94d1c5064a9572519f036

14 years agoam 2db67f79: Merge change I652a8d7b into eclair
Daisuke Miyakawa [Thu, 8 Oct 2009 17:37:17 +0000 (10:37 -0700)]
am 2db67f79: Merge change I652a8d7b into eclair

Merge commit '2db67f796d642b71a6f0accee45dcedd1e646961' into eclair-mr2

* commit '2db67f796d642b71a6f0accee45dcedd1e646961':
  Fix ImportVCardActivity so that NPE will never occur during import.

14 years agoOmit attribution icon in medium FastTrack.
Jeff Sharkey [Thu, 8 Oct 2009 17:29:22 +0000 (10:29 -0700)]
Omit attribution icon in medium FastTrack.

Fixes http://b/2175531

14 years agoMerge change I652a8d7b into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 17:07:14 +0000 (13:07 -0400)]
Merge change I652a8d7b into eclair

* changes:
  Fix ImportVCardActivity so that NPE will never occur during import.

14 years agoam 71737051: Ignore transient rows during re-parenting.
Jeff Sharkey [Thu, 8 Oct 2009 16:39:05 +0000 (09:39 -0700)]
am 71737051: Ignore transient rows during re-parenting.

Merge commit '7173705177c421e0b2a3bc4579b2f8910a38a668' into eclair-mr2

* commit '7173705177c421e0b2a3bc4579b2f8910a38a668':
  Ignore transient rows during re-parenting.

14 years agoIgnore transient rows during re-parenting.
Jeff Sharkey [Wed, 7 Oct 2009 20:52:48 +0000 (13:52 -0700)]
Ignore transient rows during re-parenting.

When editing, we create template rows such as StructuredName
and Photo, which may be trimmed before persisting if they
remain empty.  When a background change occurs and we need
to re-parent the users changes, we didn't handle this
special case, and treated these trimmed rows as inserts,
which triggered the reported missing MIME-type exception.

This change watches for "transient" rows that didn't exist
previously, but were inserted and then deleted during the
process of editing.  When encountered, they are ignored
during re-parenting, instead of turning into inserts.

Added a unit test to verify correct behavior, and also wrote
values-level verification for the existing unit tests.

Fixes http://b/2167925

14 years agoam 4c129c92: Increment tries as we reparent to avoid looping.
Jeff Sharkey [Thu, 8 Oct 2009 16:01:53 +0000 (09:01 -0700)]
am 4c129c92: Increment tries as we reparent to avoid looping.

Merge commit '4c129c92cb8f7f4d2a1f5dcf69a7564d5c88fd9f' into eclair-mr2

* commit '4c129c92cb8f7f4d2a1f5dcf69a7564d5c88fd9f':
  Increment tries as we reparent to avoid looping.

14 years agoIncrement tries as we reparent to avoid looping.
Jeff Sharkey [Wed, 7 Oct 2009 20:53:39 +0000 (13:53 -0700)]
Increment tries as we reparent to avoid looping.

Fixes http://b/2173452

14 years agoam 54b3e1fc: Merge change Ibc1b1f7d into eclair
Jeff Hamilton [Thu, 8 Oct 2009 02:26:46 +0000 (19:26 -0700)]
am 54b3e1fc: Merge change Ibc1b1f7d into eclair

Merge commit '54b3e1fce63c8f7233fff8ea6279ddd1a8982d9d' into eclair-mr2

* commit '54b3e1fce63c8f7233fff8ea6279ddd1a8982d9d':
  Follow up changes from review of Ib2afc992.

14 years agoMerge change Ibc1b1f7d into eclair
Android (Google) Code Review [Thu, 8 Oct 2009 02:19:24 +0000 (22:19 -0400)]
Merge change Ibc1b1f7d into eclair

* changes:
  Follow up changes from review of Ib2afc992.

14 years agoFix ImportVCardActivity so that NPE will never occur during import.
Daisuke Miyakawa [Fri, 2 Oct 2009 23:48:06 +0000 (16:48 -0700)]
Fix ImportVCardActivity so that NPE will never occur during import.

The NPE occurs only when the importing thread exits before the progress dialog is shown.
In theory (and in practice), this is rare, but anyway, this is a bug.

-----IMPORTANT-----

This change is cherry-picked from the latest build to the eclair.
Please see the description in the issue bellow.

-------------------

Internal issue number: 2164280

14 years agoam 406ae422: [Issue 2174171] Fixing Join Contact UI title.
Dmitri Plotnikov [Thu, 8 Oct 2009 01:16:07 +0000 (18:16 -0700)]
am 406ae422: [Issue 2174171] Fixing Join Contact UI title.

Merge commit '406ae42275eda1661aecc9afe088b654aac2193d' into eclair-mr2

* commit '406ae42275eda1661aecc9afe088b654aac2193d':
  [Issue 2174171] Fixing Join Contact UI title.

14 years ago[Issue 2174171] Fixing Join Contact UI title.
Dmitri Plotnikov [Thu, 8 Oct 2009 00:07:03 +0000 (17:07 -0700)]
[Issue 2174171] Fixing Join Contact UI title.

The title should read: "Select the contact you want to join with John Doe"

Change-Id: Iec1f41ce97e251635048f91020410cc1981cffbb

14 years agoam 0011e710: Fix clicking on the total contacts header item.
Neel Parekh [Thu, 8 Oct 2009 00:45:05 +0000 (17:45 -0700)]
am 0011e710: Fix clicking on the total contacts header item.

Merge commit '0011e710967a0545b1a5a519eb61f34dcb9db1cb' into eclair-mr2

* commit '0011e710967a0545b1a5a519eb61f34dcb9db1cb':
  Fix clicking on the total contacts header item.

14 years agoFix clicking on the total contacts header item.
Neel Parekh [Wed, 7 Oct 2009 20:52:38 +0000 (13:52 -0700)]
Fix clicking on the total contacts header item.

Bug: 2160378

14 years agoam 2a5a27a0: Fix bc_triaged http://b/issue?id=2155790
Evan Millar [Wed, 7 Oct 2009 23:56:44 +0000 (16:56 -0700)]
am 2a5a27a0: Fix bc_triaged b/issue?id=2155790

Merge commit '2a5a27a05085c2e9d3884860970e2c56295de8c9' into eclair-mr2

* commit '2a5a27a05085c2e9d3884860970e2c56295de8c9':
  Fix bc_triaged http://b/issue?id=2155790

14 years agoam a1ff78be: Merge change I89190b8b into eclair
Evan Millar [Wed, 7 Oct 2009 23:56:41 +0000 (16:56 -0700)]
am a1ff78be: Merge change I89190b8b into eclair

Merge commit 'a1ff78bed118b545e24de6a8f5f2f01f9d0f3d9d' into eclair-mr2

* commit 'a1ff78bed118b545e24de6a8f5f2f01f9d0f3d9d':
  New photo frame in LARGE QuickCotnact window

14 years agoFix bc_triaged http://b/issue?id=2155790
Evan Millar [Wed, 7 Oct 2009 22:15:05 +0000 (15:15 -0700)]
Fix bc_triaged http://b/issue?id=2155790

Dr.No approval from Tim Sullivan

Change-Id: I893d40499303accbf675c7e7e2e5873b4800b052

14 years agoMerge change I89190b8b into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 23:48:00 +0000 (19:48 -0400)]
Merge change I89190b8b into eclair

* changes:
  New photo frame in LARGE QuickCotnact window

14 years agoam 41449696: Merge change Ia961aa60 into eclair
Tadashi G. Takaoka [Wed, 7 Oct 2009 23:30:27 +0000 (16:30 -0700)]
am 41449696: Merge change Ia961aa60 into eclair

Merge commit '4144969616439687e30d1beec041e6dee951bb37' into eclair-mr2

* commit '4144969616439687e30d1beec041e6dee951bb37':
  Contacts: fixed custom label handling in GenericEditorView.

14 years agoMerge change Ia961aa60 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 23:24:15 +0000 (19:24 -0400)]
Merge change Ia961aa60 into eclair

* changes:
  Contacts: fixed custom label handling in GenericEditorView.

14 years agoNew photo frame in LARGE QuickCotnact window
Evan Millar [Wed, 7 Oct 2009 22:36:36 +0000 (15:36 -0700)]
New photo frame in LARGE QuickCotnact window

bc_triaged bug: http://b/issue?id=2170892

Dr.No: Tim Sullivan

Change-Id: I89190b8bf0ba019645c3beb2fe2b73decca0c948

14 years agoam eb0d6997: Merge change I362ca992 into eclair
Evan Millar [Wed, 7 Oct 2009 21:57:16 +0000 (14:57 -0700)]
am eb0d6997: Merge change I362ca992 into eclair

Merge commit 'eb0d69972dd7b77e3f43146ea5134c7953036ff4' into eclair-mr2

* commit 'eb0d69972dd7b77e3f43146ea5134c7953036ff4':
  Show message if contact has no data to show.

14 years agoMerge change I362ca992 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 21:46:42 +0000 (17:46 -0400)]
Merge change I362ca992 into eclair

* changes:
  Show message if contact has no data to show.

14 years agoContacts: fixed custom label handling in GenericEditorView.
Tadashi G. Takaoka [Wed, 7 Oct 2009 21:28:44 +0000 (14:28 -0700)]
Contacts: fixed custom label handling in GenericEditorView.

Internal Bug: http://b/2173080

14 years agoFollow up changes from review of Ib2afc992.
Jeff Hamilton [Wed, 7 Oct 2009 21:21:20 +0000 (16:21 -0500)]
Follow up changes from review of Ib2afc992.

- Fixed some minor issues in the editor comparator
- Fixed some issues with phone local contacts

Change-Id: Ibc1b1f7d23aa33f899eaa4c0a21fde59284b6f4a

14 years agoam 1fb6275a: Updates to the edit contact UI.
Jeff Hamilton [Wed, 7 Oct 2009 20:44:01 +0000 (13:44 -0700)]
am 1fb6275a: Updates to the edit contact UI.

Merge commit '1fb6275a57318261cb6dba511954cb754cd17fa2' into eclair-mr2

* commit '1fb6275a57318261cb6dba511954cb754cd17fa2':
  Updates to the edit contact UI.

14 years agoUpdates to the edit contact UI.
Jeff Hamilton [Wed, 7 Oct 2009 09:40:27 +0000 (04:40 -0500)]
Updates to the edit contact UI.

- Updated account colors and color layout
- Updated display in read-only mode
- Clearer strings to identify accounts
- Sort the contacts to edit so read-only ones
  always are at the bottom.

Fixes 2163539 and a good portion of 2163519.

Change-Id: Ib2afc992a8623f2a253d2a52a0b5c50ee866e5d8

14 years agoShow message if contact has no data to show.
Evan Millar [Wed, 7 Oct 2009 18:47:35 +0000 (11:47 -0700)]
Show message if contact has no data to show.

Fixes bc_triaged bug http://b/issue?id=2170901

Dr.NO approval from Tim Sullivan

Change-Id: I362ca992c3a97792fbc2d76fc3bcf4178bfefcd5

14 years agoam 0d37e1bb: (-s ours) Merge change Ice23b740 into eclair
Eric Fischer [Wed, 7 Oct 2009 18:46:28 +0000 (11:46 -0700)]
am 0d37e1bb: (-s ours) Merge change Ice23b740 into eclair

Merge commit '0d37e1bb98d4fc3a156708225d42f23f6bb27f3d' into eclair-mr2

* commit '0d37e1bb98d4fc3a156708225d42f23f6bb27f3d':
  Import revised translations.   DO NOT MERGE

14 years agoMerge change Ice23b740 into eclair
Android (Google) Code Review [Wed, 7 Oct 2009 18:36:48 +0000 (14:36 -0400)]
Merge change Ice23b740 into eclair

* changes:
  Import revised translations.   DO NOT MERGE

14 years agoam d5a4567a: One more last minute string.
Jeff Hamilton [Wed, 7 Oct 2009 03:42:46 +0000 (20:42 -0700)]
am d5a4567a: One more last minute string.

Merge commit 'd5a4567ac32a4162e0cd35aa732e2aeb80280cdb' into eclair-mr2

* commit 'd5a4567ac32a4162e0cd35aa732e2aeb80280cdb':
  One more last minute string.

14 years agoOne more last minute string.
Jeff Hamilton [Wed, 7 Oct 2009 03:12:02 +0000 (22:12 -0500)]
One more last minute string.

Change-Id: Ifc0220ae3af63b0d97b2ae5ab6963108119ded67

14 years agoam 01c68659: Checkpoint new strings for translation.
Jeff Hamilton [Wed, 7 Oct 2009 03:08:19 +0000 (20:08 -0700)]
am 01c68659: Checkpoint new strings for translation.

Merge commit '01c68659a500523c32188ef0a3f5eccc7af57652' into eclair-mr2

* commit '01c68659a500523c32188ef0a3f5eccc7af57652':
  Checkpoint new strings for translation.

14 years agoam 76c9ec4b: Part of Bug 2163087 fix - NPE if the main thread is removing the reference.
Costin Manolache [Wed, 7 Oct 2009 03:08:15 +0000 (20:08 -0700)]
am 76c9ec4b: Part of Bug 2163087 fix - NPE if the main thread is removing the reference.

Merge commit '76c9ec4bab499989f6e8f7448d228687b235d58c' into eclair-mr2

* commit '76c9ec4bab499989f6e8f7448d228687b235d58c':
  Part of Bug 2163087 fix - NPE if the main thread is removing the reference.

14 years agoam 8debb14b: [Issue 2166752] Properly displaying phone numbers containing letters
Dmitri Plotnikov [Wed, 7 Oct 2009 03:08:12 +0000 (20:08 -0700)]
am 8debb14b: [Issue 2166752] Properly displaying phone numbers containing letters

Merge commit '8debb14bd3593bcc505bb0da29bc8239dadc6553' into eclair-mr2

* commit '8debb14bd3593bcc505bb0da29bc8239dadc6553':
  [Issue 2166752] Properly displaying phone numbers containing letters

14 years agoCheckpoint new strings for translation.
Jeff Hamilton [Tue, 6 Oct 2009 03:39:45 +0000 (22:39 -0500)]
Checkpoint new strings for translation.

Change-Id: Iba348222094cc40bd9657fea35396e26b3b7c779

14 years agoPart of Bug 2163087 fix - NPE if the main thread is removing the reference.
Costin Manolache [Wed, 7 Oct 2009 00:28:39 +0000 (17:28 -0700)]
Part of Bug 2163087 fix - NPE if the main thread is removing the reference.

14 years ago[Issue 2166752] Properly displaying phone numbers containing letters
Dmitri Plotnikov [Wed, 7 Oct 2009 00:30:58 +0000 (17:30 -0700)]
[Issue 2166752] Properly displaying phone numbers containing letters

Change-Id: Ia2d815925d672d46f0269e926438c3dc8739006b

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 6 Oct 2009 23:52:42 +0000 (16:52 -0700)]
Import revised translations.   DO NOT MERGE

Approver: jerryw

14 years agoam d1037fdb: Merge change I9a8a3d9d into eclair
Jeff Sharkey [Tue, 6 Oct 2009 23:44:55 +0000 (16:44 -0700)]
am d1037fdb: Merge change I9a8a3d9d into eclair

Merge commit 'd1037fdbfd72209d179214dd6151e6425d4a267f' into eclair-mr2

* commit 'd1037fdbfd72209d179214dd6151e6425d4a267f':
  Fix FastTrack recycling consistency issues, shadows.

14 years agoMerge change I9a8a3d9d into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 23:37:33 +0000 (19:37 -0400)]
Merge change I9a8a3d9d into eclair

* changes:
  Fix FastTrack recycling consistency issues, shadows.

14 years agoam 3075f6a4: Display empty text when there are no contacts visible.
Evan Millar [Tue, 6 Oct 2009 23:03:42 +0000 (16:03 -0700)]
am 3075f6a4: Display empty text when there are no contacts visible.

Merge commit '3075f6a408768cac749edb786feac71afa7d7b64' into eclair-mr2

* commit '3075f6a408768cac749edb786feac71afa7d7b64':
  Display empty text when there are no contacts visible.

14 years agoDisplay empty text when there are no contacts visible.
Evan Millar [Tue, 6 Oct 2009 20:34:15 +0000 (13:34 -0700)]
Display empty text when there are no contacts visible.

-bc triaged bug: http://b/issue?id=2162934

Change-Id: I331918d70282bb2e123da22bc940168c41406326

14 years agoFix FastTrack recycling consistency issues, shadows.
Jeff Sharkey [Mon, 5 Oct 2009 18:15:57 +0000 (11:15 -0700)]
Fix FastTrack recycling consistency issues, shadows.

When FastTrack is displayed and a configuration change
occurs, we tear down and recreate the host Activity, but in
the process moveTaskToBack(), which means the next trigger
will show a stale track and rectangle.

This change dismisses the track in onPause() to reduce risk
of bringing back a stale track.  It also introduces a new
mDismissed flag to catch any race conditions where the track
is dismissed before showInternal() is called.

When requested a show() and already visible, instead of
ignoring, I'm calling dismissInternal() to replace the track
with the updated request.  I'm also using query tokens to
ignore query results from stale show() requests.

This change also fixes padding in the large FT format when
no photo is available.  It also fixes shadow behind track
to remove sharp vertical edges visible during animations.

Also clears "make default" checkbox between recycles and
fixes an issue where icons for preferred apps remained after
the user selects "always use" from intent disambig list.

Fixes http://b/2163611 and http://b/2164119

14 years agoam 685fdd50: Merge change I23d84a63 into eclair
Jeff Sharkey [Tue, 6 Oct 2009 21:26:18 +0000 (14:26 -0700)]
am 685fdd50: Merge change I23d84a63 into eclair

Merge commit '685fdd508523225bcb52a862c530b3cd6dd30cb0' into eclair-mr2

* commit '685fdd508523225bcb52a862c530b3cd6dd30cb0':
  Include Google Talk presence, even when missing Im rows.

14 years agoMerge change I23d84a63 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 21:21:22 +0000 (17:21 -0400)]
Merge change I23d84a63 into eclair

* changes:
  Include Google Talk presence, even when missing Im rows.

14 years agoam c759ffbc: Merge change I740cfdad into eclair
Costin Manolache [Tue, 6 Oct 2009 20:58:39 +0000 (13:58 -0700)]
am c759ffbc: Merge change I740cfdad into eclair

Merge commit 'c759ffbcc1564b81b9715835bd6b63c293dd6b8f' into eclair-mr2

* commit 'c759ffbcc1564b81b9715835bd6b63c293dd6b8f':
  Use a thread pool to fetch images. Bug 2163087.

14 years agoMerge change I740cfdad into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 20:49:13 +0000 (16:49 -0400)]
Merge change I740cfdad into eclair

* changes:
  Use a thread pool to fetch images. Bug 2163087.

14 years agoInclude Google Talk presence, even when missing Im rows.
Jeff Sharkey [Fri, 2 Oct 2009 04:32:19 +0000 (21:32 -0700)]
Include Google Talk presence, even when missing Im rows.

When inserting Google Talk presence updates, we match on
both Im and Email rows.  This change adds presence "dots"
to individual Im rows, and creates in-memory Im rows when
Email entries have presence.

This loads status details through a second query and holds
back building UI until both queries finish.  This change
also generalizes logic for building Im intents borrowed
from FastTrack code.

This change also fixes a regression that was dropping third-
party data rows.  The second-query approach above allows us
to remove a large chunk of code that was using old API.

Fixes http://b/2161796

14 years agoUse a thread pool to fetch images. Bug 2163087.
Costin Manolache [Tue, 6 Oct 2009 19:22:09 +0000 (12:22 -0700)]
Use a thread pool to fetch images. Bug 2163087.

14 years agoam d40d7f06: Merge change I6238c621 into eclair
Megha Joshi [Tue, 6 Oct 2009 18:29:20 +0000 (11:29 -0700)]
am d40d7f06: Merge change I6238c621 into eclair

Merge commit 'd40d7f06ba0d87d2c1e78f382ce78c3c8a25fbfc' into eclair-mr2

* commit 'd40d7f06ba0d87d2c1e78f382ce78c3c8a25fbfc':
  Prevents empty focus contacts without photo from being created.

14 years agoMerge change I6238c621 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 18:23:53 +0000 (14:23 -0400)]
Merge change I6238c621 into eclair

* changes:
  Prevents empty focus contacts without photo from being created.

14 years agoPrevents empty focus contacts without photo from being created.
Megha Joshi [Mon, 5 Oct 2009 21:13:58 +0000 (14:13 -0700)]
Prevents empty focus contacts without photo from being created.

Bug: 2133257
Dr No: TS

14 years agoam 585e10f7: Merge change Ifb476198 into eclair
Evan Millar [Tue, 6 Oct 2009 17:19:58 +0000 (10:19 -0700)]
am 585e10f7: Merge change Ifb476198 into eclair

Merge commit '585e10f7a3992682f10b9e3f24bf7bd7f5170cb6' into eclair-mr2

* commit '585e10f7a3992682f10b9e3f24bf7bd7f5170cb6':
  Use framework assets for section headers, and adjust layout to pixel perfect.

14 years agoMerge change Ifb476198 into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 17:14:57 +0000 (13:14 -0400)]
Merge change Ifb476198 into eclair

* changes:
  Use framework assets for section headers, and adjust layout to pixel perfect.

14 years agoam 75d2fdcb: Updated icons for Contacts.
Daniel Sandler [Tue, 6 Oct 2009 16:56:06 +0000 (09:56 -0700)]
am 75d2fdcb: Updated icons for Contacts.

Merge commit '75d2fdcb29853e5a468f7c68e25a272b3b6e2f52' into eclair-mr2

* commit '75d2fdcb29853e5a468f7c68e25a272b3b6e2f52':
  Updated icons for Contacts.

14 years agoUse framework assets for section headers, and adjust layout to pixel perfect.
Evan Millar [Mon, 5 Oct 2009 23:06:29 +0000 (16:06 -0700)]
Use framework assets for section headers, and adjust layout to pixel perfect.

-triaged bug http://b/issue?id=2153296
-Tim Sullivan gave Dr. No approval.

Change-Id: Ifb4761986cf3c991d9af5deacb15ac256a603e4a

14 years agoUpdated icons for Contacts.
Daniel Sandler [Tue, 6 Oct 2009 15:34:40 +0000 (11:34 -0400)]
Updated icons for Contacts.

DrNo: mcleron
Change-Id: I4392f12a57e611f744a61a9bd1c0ccf3bba437a4

14 years agoam 8577fee2: Merge change I517b266a into eclair
Dmitri Plotnikov [Tue, 6 Oct 2009 02:49:11 +0000 (19:49 -0700)]
am 8577fee2: Merge change I517b266a into eclair

Merge commit '8577fee2a6ba9ba6d4aac635c85ff6034dfcca45' into eclair-mr2

* commit '8577fee2a6ba9ba6d4aac635c85ff6034dfcca45':
  [Issue 2165144] Fixing managed delete dialogs in ContactListActivity

14 years agoMerge change I517b266a into eclair
Android (Google) Code Review [Tue, 6 Oct 2009 02:40:28 +0000 (22:40 -0400)]
Merge change I517b266a into eclair

* changes:
  [Issue 2165144] Fixing managed delete dialogs in ContactListActivity

14 years ago[Issue 2165144] Fixing managed delete dialogs in ContactListActivity
Dmitri Plotnikov [Tue, 6 Oct 2009 00:05:37 +0000 (17:05 -0700)]
[Issue 2165144] Fixing managed delete dialogs in ContactListActivity

Since these dialogs are managed, they are not actually destroyed after the first
use, but reused.  These dialogs were initialized with the URI of the first
contact we were deleting.  On subsequent calls, they were reused and tried to
delete the same contact.

Change-Id: I517b266a96fe72268c8dfbc7fe3f84fa366d7a23

14 years agoam 5cbf6f43: Exclude FastTrack window from recent apps.
Jeff Sharkey [Tue, 6 Oct 2009 00:05:29 +0000 (17:05 -0700)]
am 5cbf6f43: Exclude FastTrack window from recent apps.

Merge commit '5cbf6f43dadda66630a2bdb7a744b62f1cef507d' into eclair-mr2

* commit '5cbf6f43dadda66630a2bdb7a744b62f1cef507d':
  Exclude FastTrack window from recent apps.

14 years agoExclude FastTrack window from recent apps.
Jeff Sharkey [Fri, 2 Oct 2009 21:22:51 +0000 (14:22 -0700)]
Exclude FastTrack window from recent apps.

Fixes http://b/2163542

14 years agoam cf1af9a1: Merge change I14fec660 into eclair
Neel Parekh [Mon, 5 Oct 2009 23:26:32 +0000 (16:26 -0700)]
am cf1af9a1: Merge change I14fec660 into eclair

Merge commit 'cf1af9a1c72ac1c47c4cc76120352b75731dfa2d' into eclair-mr2

* commit 'cf1af9a1c72ac1c47c4cc76120352b75731dfa2d':
  Fix NPE being thrown when starting the AttachImage activity.

14 years agoMerge change I14fec660 into eclair
Android (Google) Code Review [Mon, 5 Oct 2009 23:18:40 +0000 (19:18 -0400)]
Merge change I14fec660 into eclair

* changes:
  Fix NPE being thrown when starting the AttachImage activity.

14 years agoFix NPE being thrown when starting the AttachImage activity.
Neel Parekh [Mon, 5 Oct 2009 21:56:48 +0000 (14:56 -0700)]
Fix NPE being thrown when starting the AttachImage activity.

Bug: 2164613

14 years agoMerge change I806ebb68 into eclair-mr2
Android (Google) Code Review [Mon, 5 Oct 2009 20:56:46 +0000 (16:56 -0400)]
Merge change I806ebb68 into eclair-mr2

* changes:
  Use VCardDataBuilder#cancel().

14 years agoUse VCardDataBuilder#cancel().
Daisuke Miyakawa [Mon, 5 Oct 2009 20:54:41 +0000 (13:54 -0700)]
Use VCardDataBuilder#cancel().

Internal Issue number: 2158261

14 years agoam 8e55e0da: account manager api review changes
Fred Quintana [Mon, 5 Oct 2009 18:34:27 +0000 (11:34 -0700)]
am 8e55e0da: account manager api review changes

Merge commit '8e55e0daa3967dbfdada4a42bec51a0435bc3384' into eclair-mr2

* commit '8e55e0daa3967dbfdada4a42bec51a0435bc3384':
  account manager api review changes

14 years agoaccount manager api review changes
Fred Quintana [Sat, 3 Oct 2009 00:19:11 +0000 (17:19 -0700)]
account manager api review changes

14 years agoam d7a3cd59: Merge change I3040fa30 into eclair
Nicolas Catania [Sun, 4 Oct 2009 22:21:45 +0000 (15:21 -0700)]
am d7a3cd59: Merge change I3040fa30 into eclair

Merge commit 'd7a3cd594c29d2cce161dce76bf22970a2184a96' into eclair-mr2

* commit 'd7a3cd594c29d2cce161dce76bf22970a2184a96':
  Taping the dialed number allows editing.

14 years agoam c508bd8c: Fixes bug where delete option from Menu list is disabled in Contact...
Megha Joshi [Sun, 4 Oct 2009 22:21:41 +0000 (15:21 -0700)]
am c508bd8c: Fixes bug where delete option from Menu list is disabled in Contact view mode. Bug was caused by the count increment logic being removed in the next submitted change https://android-git.corp.google.com/w/?p=platform/packages/apps/Contacts.git;a=commit;h=d

Merge commit 'c508bd8c0d697bd7e8cf62e025ef32f3f2169d9a' into eclair-mr2

* commit 'c508bd8c0d697bd7e8cf62e025ef32f3f2169d9a':
  Fixes bug where delete option from Menu list is disabled in Contact view mode.

14 years agoam f042df95: [Issue 2157935] Adding a confirmation dialog for contact split.
Dmitri Plotnikov [Sun, 4 Oct 2009 22:20:49 +0000 (15:20 -0700)]
am f042df95: [Issue 2157935] Adding a confirmation dialog for contact split.

Merge commit 'f042df95fa3d3e0560ceec93c4c66e2d3f6f3224' into eclair-mr2

* commit 'f042df95fa3d3e0560ceec93c4c66e2d3f6f3224':
  [Issue 2157935] Adding a confirmation dialog for contact split.

14 years agoam b8594f27: [Issue 2161366] Changing strings for total number of contacts displayed
Dmitri Plotnikov [Sun, 4 Oct 2009 22:20:12 +0000 (15:20 -0700)]
am b8594f27: [Issue 2161366] Changing strings for total number of contacts displayed

Merge commit 'b8594f275a415a92255172251cadd78f16bdf01a' into eclair-mr2

* commit 'b8594f275a415a92255172251cadd78f16bdf01a':
  [Issue 2161366] Changing strings for total number of contacts displayed

14 years agoam e1032fa1: Dismiss FastTrack only after calling startActivity().
Jeff Sharkey [Sun, 4 Oct 2009 22:19:16 +0000 (15:19 -0700)]
am e1032fa1: Dismiss FastTrack only after calling startActivity().

Merge commit 'e1032fa194fbb9117b511e17f9cac60d61fd11f1' into eclair-mr2

* commit 'e1032fa194fbb9117b511e17f9cac60d61fd11f1':
  Dismiss FastTrack only after calling startActivity().

14 years agoam 6c0f8cf8: Fix attaching image on "new contact" screen.
Neel Parekh [Sun, 4 Oct 2009 22:18:30 +0000 (15:18 -0700)]
am 6c0f8cf8: Fix attaching image on "new contact" screen.

Merge commit '6c0f8cf83c2959332e2d883c211144a4b87444a0' into eclair-mr2

* commit '6c0f8cf83c2959332e2d883c211144a4b87444a0':
  Fix attaching image on "new contact" screen.

14 years agoam f1b30aae: Merge change Ifaf19b53 into eclair
Mike Cleron [Sun, 4 Oct 2009 22:17:38 +0000 (15:17 -0700)]
am f1b30aae: Merge change Ifaf19b53 into eclair

Merge commit 'f1b30aae6adcdd3b32536f66b03ff27901a776f2' into eclair-mr2

* commit 'f1b30aae6adcdd3b32536f66b03ff27901a776f2':
  More icons

14 years agoam eb3c86d7: (-s ours) Merge change I08582aef into eclair
Eric Fischer [Sun, 4 Oct 2009 22:15:44 +0000 (15:15 -0700)]
am eb3c86d7: (-s ours) Merge change I08582aef into eclair

Merge commit 'eb3c86d7f7a3faa828f071206aa9fb4038114a11' into eclair-mr2

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

14 years agoam f3bd80a2: [Issue 2153296] Updating contact list section headers
Dmitri Plotnikov [Sun, 4 Oct 2009 22:14:36 +0000 (15:14 -0700)]
am f3bd80a2: [Issue 2153296] Updating contact list section headers

Merge commit 'f3bd80a2fcf72871eec957cc59cdae5a54fb0285' into eclair-mr2

* commit 'f3bd80a2fcf72871eec957cc59cdae5a54fb0285':
  [Issue 2153296] Updating contact list section headers

14 years agoam 2fb3db55: Fix bug http://b/issue?id=2160189
Evan Millar [Sun, 4 Oct 2009 22:12:41 +0000 (15:12 -0700)]
am 2fb3db55: Fix bug http://b/issue?id=2160189

Merge commit '2fb3db55d68ff8a8d9cf8e329de3ec8687d5ff29' into eclair-mr2

* commit '2fb3db55d68ff8a8d9cf8e329de3ec8687d5ff29':
  Fix bug http://b/issue?id=2160189
  Make ExporterVCardActivity appropriately cope with orientation change.

14 years agoMerge change I3040fa30 into eclair
Android (Google) Code Review [Sat, 3 Oct 2009 15:16:11 +0000 (11:16 -0400)]
Merge change I3040fa30 into eclair

* changes:
  Taping the dialed number allows editing.

14 years agoFixes bug where delete option from Menu list is disabled in Contact view mode.
Megha Joshi [Fri, 2 Oct 2009 00:31:49 +0000 (17:31 -0700)]
Fixes bug where delete option from Menu list is disabled in Contact view mode.
Bug was caused by the count increment logic being removed in the next submitted change
https://android-git.corp.google.com/w/?p=platform/packages/apps/Contacts.git;a=commit;h=df18120ed2c37a45eb47e39c4da0c8e3b6eb335c
Disabled menu was removed in some other subsequent change, so adding dialog for the case when writable contacts = 0.

Changes delete contact bebavior in EditContactActivity to be same
ViewContactActivity.

Updates dialog message for readonly contact deletion.

bug 2161222
Dr No : TS
Reviewed By: dplotnikov, timsullivan

14 years ago[Issue 2157935] Adding a confirmation dialog for contact split.
Dmitri Plotnikov [Sat, 3 Oct 2009 00:34:27 +0000 (17:34 -0700)]
[Issue 2157935] Adding a confirmation dialog for contact split.

Also renaming the menu button to "Separate"
Also making the menu button only visible for aggregate contacts

Bug discussed with and approved by Tim.

Change-Id: Ie6950b2779c37a1694e01e5ca5ef819ae3d850b5

14 years agoFix ImportVCardActivity so that NPE will never occur during import.
Daisuke Miyakawa [Fri, 2 Oct 2009 23:48:06 +0000 (16:48 -0700)]
Fix ImportVCardActivity so that NPE will never occur during import.

The NPE occurs only when the importing thread exits before the progress dialog is shown.
In theory (and in practice), this is rare, but anyway, this is a bug.

Internal issue number: 2164280