OSDN Git Service
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.
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
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
Dmitri Plotnikov [Fri, 2 Oct 2009 23:00:18 +0000 (16:00 -0700)]
[Issue
2161366] Changing strings for total number of contacts displayed
Approved by Tim.
Change-Id: I43bf6d71193f0d6315b3c06a2da8824f01f102d7
Jeff Sharkey [Fri, 2 Oct 2009 02:51:14 +0000 (19:51 -0700)]
Dismiss FastTrack only after calling startActivity().
When launching towards an existing task where the target
activity is already at the top of that task, we triggered
a check in ActivityManager that requires the caller to be
in the foreground. Before this change, we dismissed the
dialog before calling startActivity(), meaning that in
this case the user action would result in a no-op.
Fixes http://b/
2162031
Neel Parekh [Fri, 2 Oct 2009 17:49:22 +0000 (10:49 -0700)]
Fix attaching image on "new contact" screen.
Bug:
2161910
Dr. NO: TS
Nicolas Catania [Thu, 1 Oct 2009 20:00:53 +0000 (13:00 -0700)]
Taping the dialed number allows editing.
Previously, taping the dialed number used to dial the number.
Now if non-empty, a cursor shows up at the tap location.
The user can then use the dialpad to delete/insert new numbers.
The previous version of the selectors that drive the number background
has been moved to the non finger drawable because they show the right
background when focused.
In touch mode, the background does not change when focused.
Bug:
2160189
Android (Google) Code Review [Fri, 2 Oct 2009 07:58:33 +0000 (03:58 -0400)]
Merge change Ifaf19b53 into eclair
* changes:
More icons
Mike Cleron [Fri, 2 Oct 2009 07:35:09 +0000 (00:35 -0700)]
More icons
Android (Google) Code Review [Fri, 2 Oct 2009 04:48:16 +0000 (00:48 -0400)]
Merge change I08582aef into eclair
* changes:
Import revised translations. DO NOT MERGE
Dmitri Plotnikov [Thu, 1 Oct 2009 23:48:00 +0000 (16:48 -0700)]
[Issue
2153296] Updating contact list section headers
Also fixing the menu icon for split
Change-Id: Ic6cffb2760273c89dfa0d60d1ba5307316390b68
Eric Fischer [Thu, 1 Oct 2009 23:58:14 +0000 (16:58 -0700)]
Import revised translations. DO NOT MERGE
Approver: jerryw
Evan Millar [Thu, 1 Oct 2009 20:00:53 +0000 (13:00 -0700)]
Fix bug http://b/issue?id=
2160189
Change-Id: I99f3aa5c159e999a2d2bd4526a4540e68af90d1d
Daisuke Miyakawa [Thu, 1 Oct 2009 16:25:52 +0000 (09:25 -0700)]
Make ExporterVCardActivity appropriately cope with orientation change.
This was done when this class was VCardExporter and at that time the class
was not a separated Activity, but this time, ExporterVCardActivity itself
has to cope with that, but I forgot to modify it so.
Internal issue number:
2137469
Jeff Hamilton [Thu, 1 Oct 2009 09:22:33 +0000 (02:22 -0700)]
New edit UI, now without tabs.
Make ExternalSource derive from FallbackSource
and add photo and name to the list of sources
since they're not optional.
Change-Id: I043db076a001a711e56dd6e5e6ee32c4c0c9477a
Jeff Sharkey [Wed, 30 Sep 2009 21:57:07 +0000 (14:57 -0700)]
Single query with social, IM rows, heavy recycling, large.
Moved to a single query when showing FastTrack, instead of
previous three. This change also limits photos so we only
request when needed for large mode, and even then only the
super-primary photo. Helps fix http://b/
2134623
New query also brings in new social status API along with
attribution lines, fixing http://b/
2149038
Change also adds any IM rows under contact, or treats
Email entries with presence as Google Talk IM rows, which
fixes http://b/
2087402
When selecting chiclet icons, prefer a specific set of
built-in platform and system apps. This does /not/ replace
the system intent dialog to actually select an app when
there are multiple matches. Fixes http://b/
2139517
Heavy recycling strategies for preserving layouts. This
uses a ActivityManager trick to keep FastTrack pre-warmed
behind any other tasks. It also recycles inflated chiclets
between showings. With these and other optimizations, we
now show 60% faster. Fixes http://b/
2134623
Implements large FastTrack layout, fixing http://b/
2126683
Switched import/export icons to correct DPI, corrected HDPI
FastTrack shadow asset, and fixed dialog launching logic in
ContactsListView.
Android (Google) Code Review [Thu, 1 Oct 2009 07:43:28 +0000 (03:43 -0400)]
Merge change I6f8ec24e into eclair
* changes:
Refreshing view contact based on the result of editing
Android (Google) Code Review [Thu, 1 Oct 2009 07:37:57 +0000 (03:37 -0400)]
Merge change I457e2149 into eclair
* changes:
More icons
Mike Cleron [Thu, 1 Oct 2009 07:35:43 +0000 (00:35 -0700)]
More icons
Dmitri Plotnikov [Thu, 1 Oct 2009 06:48:12 +0000 (23:48 -0700)]
Refreshing view contact based on the result of editing
Specifically, when edit does joins, new contacts and deletes, the lookup key can change beyond recognition.
Change-Id: I6f8ec24ecaf3d1e80f765a5fa9e4fd3d371bf62c
Dmitri Plotnikov [Thu, 1 Oct 2009 05:32:13 +0000 (22:32 -0700)]
Moving join contact functionality to the Contact Edit screen.
Change-Id: I1630e909be3283d7274d093e8c86a8ee142d8afc
Android (Google) Code Review [Thu, 1 Oct 2009 06:25:28 +0000 (02:25 -0400)]
Merge change I511ba352 into eclair
* changes:
Remove tabs, join, and aggregate badge from ViewContactActivity
Android (Google) Code Review [Thu, 1 Oct 2009 05:32:59 +0000 (01:32 -0400)]
Merge change Ie07ae802 into eclair
* changes:
New icon
Mike Cleron [Thu, 1 Oct 2009 05:30:28 +0000 (22:30 -0700)]
New icon
Android (Google) Code Review [Thu, 1 Oct 2009 04:49:40 +0000 (00:49 -0400)]
Merge change I8490c0ec into eclair
* changes:
com.android.contacts.action.FAST_TRACK->com.android.contacts.action.QUICK_CONTACT
Evan Millar [Thu, 1 Oct 2009 04:45:08 +0000 (21:45 -0700)]
com.android.contacts.action.FAST_TRACK->com.android.contacts.action.QUICK_CONTACT
Change-Id: I8490c0ec674bd3dfc3944fcb54ae8f76e32fdb3c
Fred Quintana [Thu, 1 Oct 2009 00:22:21 +0000 (17:22 -0700)]
show events in the UI
Evan Millar [Wed, 30 Sep 2009 22:15:51 +0000 (15:15 -0700)]
Remove tabs, join, and aggregate badge from ViewContactActivity
Change-Id: I511ba352d6c9f155aa66c14123e1e90e9d530ec5
Android (Google) Code Review [Thu, 1 Oct 2009 04:10:33 +0000 (00:10 -0400)]
Merge change I2a7e4e10 into eclair
* changes:
Make secondary edit entries unvisible if no data kind for it.
Evan Millar [Thu, 1 Oct 2009 02:03:35 +0000 (19:03 -0700)]
FastTrack->QuickContact
Change-Id: I9376e6ffa2e804ba4a3b60465344b058064eb098
Android (Google) Code Review [Thu, 1 Oct 2009 03:38:06 +0000 (23:38 -0400)]
Merge change I30d0cce2 into eclair
* changes:
Add ContactsContract.CALLER_IS_SYNCADAPTER query parameter to the ContentProviderOperation which updates group display/should_sync values.
Megha Joshi [Tue, 22 Sep 2009 16:38:41 +0000 (09:38 -0700)]
Disable delete for read only contacts such as facebook contacts.
Fixes bug
2121909.
Android (Google) Code Review [Thu, 1 Oct 2009 03:14:43 +0000 (23:14 -0400)]
Merge change I1172406d into eclair
* changes:
Moving contact split functionality to contact Edit
Dmitri Plotnikov [Thu, 1 Oct 2009 03:06:03 +0000 (20:06 -0700)]
Moving contact split functionality to contact Edit
Change-Id: I1172406d9eaed9b996d0376ff23413c8d7848d06
Evan Millar [Thu, 1 Oct 2009 01:33:17 +0000 (18:33 -0700)]
Fix http://b/issue?id=
2158641
Change-Id: I91f020b4d762fcaf0072d641a8a926897b7b3cd5
Tadashi G. Takaoka [Wed, 30 Sep 2009 17:05:21 +0000 (10:05 -0700)]
Make secondary edit entries unvisible if no data kind for it.
Internal Bug:
2151377
Megha Joshi [Thu, 1 Oct 2009 00:17:12 +0000 (17:17 -0700)]
Add ContactsContract.CALLER_IS_SYNCADAPTER query parameter to the
ContentProviderOperation which updates group display/should_sync values.
Partly fixes
2093578
Android (Google) Code Review [Wed, 30 Sep 2009 22:52:35 +0000 (18:52 -0400)]
Merge change I5ba08ed2 into eclair
* changes:
Final drop of hdpi assets for contacts.
Evan Millar [Wed, 30 Sep 2009 19:12:44 +0000 (12:12 -0700)]
Final drop of hdpi assets for contacts.
Change-Id: I5ba08ed2d113779cb0994e049d9a176a85e052f9
Jeff Hamilton [Wed, 30 Sep 2009 21:50:11 +0000 (14:50 -0700)]
String change from Roy.
Change-Id: I2bffa4fb041038e2ca315cf7dc82f9d2ec73eb53
Android (Google) Code Review [Wed, 30 Sep 2009 21:16:23 +0000 (17:16 -0400)]
Merge change I6f9a7185 into eclair
* changes:
Fix the number off by one when typing in the contact list.
Neel Parekh [Wed, 30 Sep 2009 20:59:44 +0000 (13:59 -0700)]
Fix the number off by one when typing in the contact list.
Bug:
2157000
Android (Google) Code Review [Wed, 30 Sep 2009 21:15:35 +0000 (17:15 -0400)]
Merge change I041d3933 into eclair
* changes:
Add import export menu drawables.
Android (Google) Code Review [Wed, 30 Sep 2009 21:15:16 +0000 (17:15 -0400)]
Merge change I6d074325 into eclair
* changes:
Add FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET Intent flag to each of the intents launched from fasttrack window.
Megha Joshi [Wed, 30 Sep 2009 20:58:48 +0000 (13:58 -0700)]
Add import export menu drawables.
fixes
2096050
Megha Joshi [Wed, 30 Sep 2009 04:49:35 +0000 (21:49 -0700)]
Add FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET Intent flag to each of
the intents launched from fasttrack window.
Fixes bug
2137624
Android (Google) Code Review [Wed, 30 Sep 2009 19:56:15 +0000 (15:56 -0400)]
Merge change I1ad6f4ae into eclair
* changes:
Use soft uris in ViewContactActivity and ContactOptionsActivity.
Evan Millar [Tue, 29 Sep 2009 21:00:43 +0000 (14:00 -0700)]
Use soft uris in ViewContactActivity and ContactOptionsActivity.
Change-Id: I1ad6f4aef27dec2007aaea05ba289a4b9fe3939a
Android (Google) Code Review [Wed, 30 Sep 2009 18:26:09 +0000 (14:26 -0400)]
Merge change Iaa0c610a into eclair
* changes:
Hookup building the contact header widget from deltas.
Android (Google) Code Review [Wed, 30 Sep 2009 18:19:04 +0000 (14:19 -0400)]
Merge change I623d3ba1 into eclair
* changes:
Placeholder mdpi assets
Android (Google) Code Review [Wed, 30 Sep 2009 18:12:05 +0000 (14:12 -0400)]
Merge change I0bb240dc into eclair
* changes:
Fix a sample code commented out, complying with the new vCard implementation.
Daisuke Miyakawa [Wed, 30 Sep 2009 18:07:12 +0000 (11:07 -0700)]
Fix a sample code commented out, complying with the new vCard implementation.
Mike Cleron [Wed, 30 Sep 2009 18:02:59 +0000 (11:02 -0700)]
Placeholder mdpi assets
Neel Parekh [Mon, 21 Sep 2009 23:57:03 +0000 (16:57 -0700)]
Hookup building the contact header widget from deltas.
Bug:
2126659
Evan Millar [Wed, 30 Sep 2009 01:00:05 +0000 (18:00 -0700)]
Adjust to FasttrackBadgeWidget->QuickContactBadge name change.
Change-Id: If4d85018dfe4488d46a0eed748314b5d448d2494
Daisuke Miyakawa [Wed, 30 Sep 2009 16:53:49 +0000 (09:53 -0700)]
Fix string, again..
Daisuke Miyakawa [Wed, 30 Sep 2009 16:43:58 +0000 (09:43 -0700)]
Fix error message shown when there's no vCard in SD card.
Internal Issue number:
2155357
Tadashi G. Takaoka [Tue, 29 Sep 2009 15:22:37 +0000 (08:22 -0700)]
Revert "Hide contact context from fast track window in the contacts view"
This reverts commit
f493b768816f245ccf593953a743996e1a54055a.
Internal Bug:
2138745
Jeff Hamilton [Wed, 30 Sep 2009 08:57:10 +0000 (01:57 -0700)]
Don't pass the query parameter in if the calling package is null.
The provider would read the string "null" and always refuse restricted access.
Change-Id: I1a592c2284ada8ab3c41bc71e510bd4ec7fd05d8
Android (Google) Code Review [Wed, 30 Sep 2009 08:30:30 +0000 (04:30 -0400)]
Merge change If143a45c into eclair
* changes:
Newer icons
Mike Cleron [Wed, 30 Sep 2009 08:13:23 +0000 (01:13 -0700)]
Newer icons
Android (Google) Code Review [Wed, 30 Sep 2009 05:44:13 +0000 (01:44 -0400)]
Merge change I386dd954 into eclair
* changes:
Remove GAIA string
Android (Google) Code Review [Wed, 30 Sep 2009 04:42:08 +0000 (00:42 -0400)]
Merge change Ibb6bf6b8 into eclair
* changes:
Minor cosmetic cleanups.
Dmitri Plotnikov [Wed, 30 Sep 2009 04:01:25 +0000 (21:01 -0700)]
[Issue
2097049] Adding a collapsed "Show all contacts" item to the join suggestion list
Change-Id: I7cf12800b942720d00229d6c61ba6180f4cd87d4
Nicolas Catania [Wed, 30 Sep 2009 03:28:01 +0000 (20:28 -0700)]
Minor cosmetic cleanups.
Costin Manolache [Wed, 30 Sep 2009 01:58:41 +0000 (18:58 -0700)]
Remove GAIA string
Android (Google) Code Review [Wed, 30 Sep 2009 01:15:33 +0000 (21:15 -0400)]
Merge change Ic0c20625 into eclair
* changes:
Don't hightlight call button in lists.
Android (Google) Code Review [Wed, 30 Sep 2009 01:14:22 +0000 (21:14 -0400)]
Merge change I53f94fc2 into eclair
* changes:
Tweaked the dialer screen to match the designer's PPL.
Dmitri Plotnikov [Wed, 30 Sep 2009 01:13:08 +0000 (18:13 -0700)]
[Issue
2097049] Updating the header of contact join screen - new icon and text
Change-Id: Ib780fba650dad0e070eabce497dde3ffa75661f5
Tadashi G. Takaoka [Tue, 29 Sep 2009 23:04:08 +0000 (16:04 -0700)]
Added source label name to account name hsection.
Internal Bug:
2154925
Tadashi G. Takaoka [Tue, 29 Sep 2009 20:08:28 +0000 (13:08 -0700)]
Make tab widget contain account name text view to avoid animation glitch
Internal Bug:
2153912
Android (Google) Code Review [Tue, 29 Sep 2009 23:03:45 +0000 (19:03 -0400)]
Merge change Iefb766ce into eclair
* changes:
[Issue
2155068] Fixing the selection clause for legacy API request in EditContactActivity
Dmitri Plotnikov [Tue, 29 Sep 2009 23:02:54 +0000 (16:02 -0700)]
[Issue
2155068] Fixing the selection clause for legacy API request in EditContactActivity
Change-Id: Iefb766ce73baf707cfd74f66627cf8fc4fb70249
Evan Millar [Tue, 29 Sep 2009 16:33:51 +0000 (09:33 -0700)]
Restrict data shown in picker based on calling activity.
Change-Id: I07be295b05f272c268019817732f6d98953bc3fd
Neel Parekh [Tue, 29 Sep 2009 19:33:19 +0000 (12:33 -0700)]
Make total contacts header more like a separator.
Dmitri Plotnikov [Tue, 29 Sep 2009 21:07:19 +0000 (14:07 -0700)]
[Issue
2149076] More wording cleanup on contacts Display Options
Change-Id: I8ec4e7ab63387fffa6f32063776176e8dbcff600
Android (Google) Code Review [Tue, 29 Sep 2009 20:25:15 +0000 (16:25 -0400)]
Merge change I394867d3 into eclair
* changes:
Cancel the selection and move the cursor pass the wait/pause symbol.
Nicolas Catania [Tue, 29 Sep 2009 06:03:33 +0000 (23:03 -0700)]
Tweaked the dialer screen to match the designer's PPL.
Created a layout-long-finger version of the dialpad for wvga devices.
For these devices, the buttons are taller than for hvga and
the margin around the elements are also different.
Extracted the bar with the 3 buttons in a separate file that gets
included in both portrait and landscape modes.
Simplified the ButtonGridLayout. Now runs 6% faster (3 runs w/ traceview).
I hardcoded the size of the button grid because the number of columns was
already hardcoded, so why not fix everything?
Use some member to cache the calculation made during onMeasure to be reused
in onLayout.
Tested on dream and sh.... in portrait and landscape modes.
Bug:
2104523
Daisuke Miyakawa [Tue, 29 Sep 2009 19:20:39 +0000 (12:20 -0700)]
Fix Contacts app so that it is able to use import feature!!!
Android (Google) Code Review [Tue, 29 Sep 2009 19:05:07 +0000 (15:05 -0400)]
Merge change Ibb10a3d9 into eclair
* changes:
[Issue
2149076] Wording cleanup on contacts Display Options
Dmitri Plotnikov [Tue, 29 Sep 2009 19:04:28 +0000 (12:04 -0700)]
[Issue
2149076] Wording cleanup on contacts Display Options
Change-Id: Ibb10a3d9a7735d3bb3005aa188cf43877cc955f1
Android (Google) Code Review [Tue, 29 Sep 2009 17:43:33 +0000 (13:43 -0400)]
Merge change Ice18ecc3 into eclair
* changes:
Fix collapsing to do fuzzy phone number matching.
Tadashi G. Takaoka [Tue, 29 Sep 2009 16:12:46 +0000 (09:12 -0700)]
Do not show "star" in contact editor.
Internal Bug:
2147622
Evan Millar [Tue, 29 Sep 2009 00:20:50 +0000 (17:20 -0700)]
Fix collapsing to do fuzzy phone number matching.
-Also use Collapser to collapse the numbers shown in the context menu
from the A-Z list.
Fixes http://b/issue?id=
2047514 and http://b/issue?id=
2144616
Change-Id: Ice18ecc306c2f30fd1525418bc9f7408c4435a50
Android (Google) Code Review [Tue, 29 Sep 2009 07:05:08 +0000 (03:05 -0400)]
Merge change I1dd85cfe into eclair
* changes:
New icons
Mike Cleron [Tue, 29 Sep 2009 07:03:17 +0000 (00:03 -0700)]
New icons
Dmitri Plotnikov [Tue, 29 Sep 2009 01:06:11 +0000 (18:06 -0700)]
[Issue
2097049] Adding a header to Contact Join UI
Also fixing this bug:
java.lang.RuntimeException: Unable to stop activity {com.android.contacts/com.android.contacts.ContactsListActivity$JoinContactActivity}: java.lang.IllegalStateException: get field slot from row 0 col -1 failed
Change-Id: I74025ee687944282ea9fea945ce281e9a00f6fdc
Android (Google) Code Review [Tue, 29 Sep 2009 03:50:04 +0000 (23:50 -0400)]
Merge change Ibcade31c into eclair
* changes:
[Issue
2147295] Only showing visible contacts in contact Join UI
Nicolas Catania [Tue, 29 Sep 2009 03:37:33 +0000 (20:37 -0700)]
Cancel the selection and move the cursor pass the wait/pause symbol.
When a selection is active and a special wait/pause charater is inserted,
it should replace the selection (currently done) but is should also
deselect the resulting area and move back to cursor positioned after
the inserted wait/pause character.
Bug:
2150657
Dmitri Plotnikov [Tue, 29 Sep 2009 03:40:13 +0000 (20:40 -0700)]
[Issue
2147295] Only showing visible contacts in contact Join UI
Change-Id: Ibcade31cdba388e9f3053662e2650c680fdb6806
Jeff Sharkey [Tue, 29 Sep 2009 03:16:37 +0000 (20:16 -0700)]
Remove TYPE_CUSTOM from EAS source.
Helps fix http://b/
2127721
Android (Google) Code Review [Tue, 29 Sep 2009 02:20:44 +0000 (22:20 -0400)]
Merge change I60a8f5d0 into eclair
* changes:
Disable labels, fields and add button for readonly contacts in edit contact view.
Jeff Sharkey [Mon, 28 Sep 2009 01:21:04 +0000 (18:21 -0700)]
Invalidate sources cache when accounts change.
This change listens for AccountManager changes, such as
when an account is added. Fixes http://b/
2115977
Android (Google) Code Review [Tue, 29 Sep 2009 00:54:07 +0000 (20:54 -0400)]
Merge change I3aaf0497 into eclair
* changes:
Show a header containing the total number of contacts.
Neel Parekh [Tue, 29 Sep 2009 00:19:03 +0000 (17:19 -0700)]
Show a header containing the total number of contacts.
Bug:
2138779
Megha Joshi [Sun, 27 Sep 2009 02:05:57 +0000 (19:05 -0700)]
Disable labels, fields and add button for readonly
contacts in edit contact view.
Fixes
2139627.
Jeff Sharkey [Mon, 28 Sep 2009 00:28:13 +0000 (17:28 -0700)]
Use separate API when sending vCard through ACTION_SEND.
Fixes http://b/
2138790
Tadashi G. Takaoka [Sun, 27 Sep 2009 21:22:28 +0000 (14:22 -0700)]
Contacts: added source account name to view/edit activity.
Internal Bug:
2129158
Android (Google) Code Review [Mon, 28 Sep 2009 23:10:18 +0000 (19:10 -0400)]
Merge change I778df15f into eclair
* changes:
Create a title on long press in view contact
Android (Google) Code Review [Mon, 28 Sep 2009 23:03:34 +0000 (19:03 -0400)]
Merge change Ifcd23efc into eclair
* changes:
Prevents empty contacts from being saved.