OSDN Git Service

android-x86/packages-apps-Contacts.git
14 years agoAbsorbing extra key events on contact search.
Dmitri Plotnikov [Fri, 2 Apr 2010 02:33:24 +0000 (19:33 -0700)]
Absorbing extra key events on contact search.

When contact search is started from a keyboard,
we start a search activity, but subsequent key events
are still coming to the original activity and
it just keeps launching new search activities.

Discussed this with Dianne.  The only available solution
in FroYo is to swallow the extra events.

This CL does just that.

Bug: 2565998

Change-Id: Ib9318ad4832e950172af5a3999194bc14321938b

14 years agoMerge "Saving ALL state when contact editor is evicted" into froyo
Dmitri Plotnikov [Thu, 1 Apr 2010 19:14:28 +0000 (12:14 -0700)]
Merge "Saving ALL state when contact editor is evicted" into froyo

14 years agoRemoving photo cache clearing on cursor change
Dmitri Plotnikov [Thu, 1 Apr 2010 01:53:31 +0000 (18:53 -0700)]
Removing photo cache clearing on cursor change

Bug: 2562872
Change-Id: I923c92cda498f9073e99f9463bb30ebade3516b7

14 years agoSaving ALL state when contact editor is evicted
Dmitri Plotnikov [Thu, 1 Apr 2010 00:52:25 +0000 (17:52 -0700)]
Saving ALL state when contact editor is evicted

We failed to save three of the fields in onSaveInstanceState
As a result we would be
1) unable to attach a photo to a contact
2) get an out-of-memory situation if a sync is running at the same time
3) not be able to join a contact manually if the process is interrupted

Bug: 2558867
Change-Id: I28dd605e82c12b611e9919170d6ba5d17442b8fc

14 years agoMerge "Fixing tests that did not get updated earlier" into froyo
Dmitri Plotnikov [Wed, 31 Mar 2010 23:38:16 +0000 (16:38 -0700)]
Merge "Fixing tests that did not get updated earlier" into froyo

14 years agoFixing tests that did not get updated earlier
Dmitri Plotnikov [Wed, 31 Mar 2010 23:34:31 +0000 (16:34 -0700)]
Fixing tests that did not get updated earlier

The change https://android-git.corp.google.com/g/#change,45372
broke the tests.  I have verified that it's the tests
and not the tested code that is broken.

Bug: 2524876
Change-Id: Iaa3d1012bef301d09562793b0adac8888be2c783

14 years agoForce vCard importer copy vCard as a temporary local file in order to
Daisuke Miyakawa [Tue, 30 Mar 2010 06:19:11 +0000 (15:19 +0900)]
Force vCard importer copy vCard as a temporary local file in order to
avoid some troubles around Content Uri which cannot be scanned more
than once.

This is possibly just a temporal workaround. Do not rely on this
caching logic.

Bug: 2528512
Change-Id: Id0129a861b07078b544f52dce0267945c907b260

14 years agoFix a regression with lookupKeys that contain special characters
Daniel Lehmann [Wed, 31 Mar 2010 20:54:22 +0000 (13:54 -0700)]
Fix a regression with lookupKeys that contain special characters
Bug:2561233

Change-Id: Id11839aa837be0735f380792b2007160aa765405

14 years agosome changes due to an API review
Fred Quintana [Tue, 30 Mar 2010 22:16:42 +0000 (15:16 -0700)]
some changes due to an API review
 - make EntityIterator extend Iterator and thus not throw a
   RemoteException, instead converting it into a RuntimeException.
 - rename ActiveSyncInfo to SyncInfo
 - change getActiveSync to getCurrentSync
 - remove the accessors in SyncInfo and instead make the final
   fields publicly accessible

Change-Id: Id67bc22b34f3c0d8bf59a70c38c2e4622dd83e29
http://b/issue?id=2553539
http://b/issue?id=2553541

14 years agoMerge "Small modifications to speedup ViewContactActivity Bug:2546767 - Use query...
Daniel Lehmann [Wed, 31 Mar 2010 00:19:56 +0000 (17:19 -0700)]
Merge "Small modifications to speedup ViewContactActivity Bug:2546767  - Use query parameter instead of sql string concatenation  - Try to use the ContactID that is passed in the Intent; fallback to lookup key if it is wrong (saves up to 2 queries)  - Initialize the newEntities list directly with the correct length" into froyo

14 years agoMerge "Optimizing contact list" into froyo
Dmitri Plotnikov [Wed, 31 Mar 2010 00:05:16 +0000 (17:05 -0700)]
Merge "Optimizing contact list" into froyo

14 years agoSmall modifications to speedup ViewContactActivity
Daniel Lehmann [Wed, 31 Mar 2010 00:03:45 +0000 (17:03 -0700)]
Small modifications to speedup ViewContactActivity
Bug:2546767
 - Use query parameter instead of sql string concatenation
 - Try to use the ContactID that is passed in the Intent; fallback to lookup key if it is wrong (saves up to 2 queries)
 - Initialize the newEntities list directly with the correct length

Change-Id: Iab271f9b30a10fb23a50cd9feba831c72cfd994f

14 years agoRestore deleted config files for certain locales
Kenny Root [Tue, 30 Mar 2010 22:48:49 +0000 (15:48 -0700)]
Restore deleted config files for certain locales

Change I3a6909d3a030daea5241636c2c1864d153194464 accidentally deleted
some config files that are needed for sort ordering in different
locales. This commit restores them and renames them to make sure the
translation system doesn't try to do it again.

Change-Id: Ie9812819c954419713238d0328224a17614c4baf

14 years agoOptimizing contact list
Dmitri Plotnikov [Tue, 30 Mar 2010 22:41:25 +0000 (15:41 -0700)]
Optimizing contact list

Instead of inflating the views from XML, we
now create views in Java.  Only necessary views
are created and layout is simplified.

Bug: 2534598
Change-Id: I7881f7519289c74a591c2a47992bbcda84168e4e

14 years agoImport revised translations
Kenny Root [Tue, 30 Mar 2010 16:16:02 +0000 (09:16 -0700)]
Import revised translations

Change-Id: Ieadd208fae2102d13fbb8c3569b2cb7a7c4bab7a

14 years agoDon't merge numbers if they only differ after a semicolon
Daniel Lehmann [Fri, 26 Mar 2010 00:41:00 +0000 (17:41 -0700)]
Don't merge numbers if they only differ after a semicolon
Bug:2432347

Change-Id: Ie62f36a29ae76287265f5ec19fc5507c0d368adf

14 years agoClearing photo cache on cursor change
Dmitri Plotnikov [Thu, 25 Mar 2010 01:11:24 +0000 (18:11 -0700)]
Clearing photo cache on cursor change

Bug: 2539327
Change-Id: I8173490a3d40c73a23f5c4be2faa53ce7a84c1b4

14 years agoMerge "Reflecting the rename of System Group: My Contacts"
Dmitri Plotnikov [Thu, 25 Mar 2010 01:02:11 +0000 (18:02 -0700)]
Merge "Reflecting the rename of System Group: My Contacts"

14 years agoReflecting the rename of System Group: My Contacts
Dmitri Plotnikov [Thu, 25 Mar 2010 01:01:35 +0000 (18:01 -0700)]
Reflecting the rename of System Group: My Contacts

Bug: 2534587
Change-Id: Ia14ed88f5d8012a0ed60be53367edff63aa756dc

14 years agoMerge "Avoid the flick based on the change of CallLogProvider."
Dmitri Plotnikov [Wed, 24 Mar 2010 22:55:04 +0000 (15:55 -0700)]
Merge "Avoid the flick based on the change of CallLogProvider."

14 years agoAvoid the flick based on the change of CallLogProvider.
Bai Tao [Wed, 24 Mar 2010 22:45:49 +0000 (06:45 +0800)]
Avoid the flick based on the change of CallLogProvider.

Change-Id: Ib4132a238aca5dabf10fd329c299f12a7e1e5bc9

14 years agoMerge "Change "Position" to "Title" in Ghost text Bug:2539245"
Daniel Lehmann [Wed, 24 Mar 2010 21:29:23 +0000 (14:29 -0700)]
Merge "Change "Position" to "Title" in Ghost text Bug:2539245"

14 years agoChange "Position" to "Title" in Ghost text
Daniel Lehmann [Wed, 24 Mar 2010 21:18:34 +0000 (14:18 -0700)]
Change "Position" to "Title" in Ghost text
Bug:2539245

Change-Id: I1044b3b0fd7567014ed717314d4133e6d9b63421

14 years agoPromote Position to label (instead of data) if Company name is empty
Daniel Lehmann [Wed, 24 Mar 2010 20:45:05 +0000 (13:45 -0700)]
Promote Position to label (instead of data) if Company name is empty
Bug:2534607

Change-Id: I5e888d6896aa8ad56a56efd5526d90b8afb01278

14 years agoMerge "Update explanation in comments."
Brad Fitzpatrick [Wed, 24 Mar 2010 19:14:18 +0000 (12:14 -0700)]
Merge "Update explanation in comments."

14 years agoFollow-up on preventing QC from hiding soft keyboard.
Dmitri Plotnikov [Wed, 24 Mar 2010 19:05:34 +0000 (12:05 -0700)]
Follow-up on preventing QC from hiding soft keyboard.

- Making focus work just as before the fix, ie header is not focusable any more
- Making footer properly disappear before the track itself

Change-Id: I47f2cd72c7d1fe14d723de6a67293d2c66e2e06d

14 years agoMerge "Preventing QuickContact from hiding soft keyboard"
Dmitri Plotnikov [Wed, 24 Mar 2010 18:38:30 +0000 (11:38 -0700)]
Merge "Preventing QuickContact from hiding soft keyboard"

14 years agoUpdate explanation in comments.
Brad Fitzpatrick [Wed, 24 Mar 2010 17:53:51 +0000 (10:53 -0700)]
Update explanation in comments.

Change-Id: I2c1ee846a12492d86d779310eacb239618a59b70

14 years agoHopefully fix frequently-reported ViewContactActivity ANR.
Brad Fitzpatrick [Wed, 24 Mar 2010 06:27:34 +0000 (23:27 -0700)]
Hopefully fix frequently-reported ViewContactActivity ANR.

See background in bug 2539603.

BUG=2539603

Change-Id: I1392e8767a6174048c59a782076663772a3402d1

14 years agoPreventing QuickContact from hiding soft keyboard
Dmitri Plotnikov [Wed, 24 Mar 2010 05:49:43 +0000 (22:49 -0700)]
Preventing QuickContact from hiding soft keyboard

Thanks, Dianne, for the suggestion.

Bug: 2520397
Change-Id: Ia33e89fa22dfb68188a3db24d1c6067d15102817

14 years agoMerge "New rule for the fields "organization" and "nickname": If they merely duplicat...
Daniel Lehmann [Wed, 24 Mar 2010 02:11:38 +0000 (19:11 -0700)]
Merge "New rule for the fields "organization" and "nickname": If they merely duplicate the title, don't show them Bug:2534647"

14 years agoNew rule for the fields "organization" and "nickname": If they merely duplicate the...
Daniel Lehmann [Wed, 24 Mar 2010 01:10:57 +0000 (18:10 -0700)]
New rule for the fields "organization" and "nickname": If they merely duplicate the title, don't show them
Bug:2534647

Change-Id: I65882a7b626265cc310547f3947cec61be4c11be

14 years agoSupport launch QuickContactActivity from upgraded shortcut
Bai Tao [Wed, 24 Mar 2010 00:50:35 +0000 (08:50 +0800)]
Support launch QuickContactActivity from upgraded shortcut

bug: 2535107
Change-Id: I7d7aa33e600c885180f1c8443d4e79a382785855

14 years agoFit-and-finish. Redoing the title for contact search results.
Dmitri Plotnikov [Tue, 23 Mar 2010 23:38:29 +0000 (16:38 -0700)]
Fit-and-finish.  Redoing the title for contact search results.

Bug: 2534618

Change-Id: If00dd28dfcdc5596e6b6cb8a5690f5c0382200de

14 years agoMerge "When editing contacts, automatically expand "More" if data has been entered...
Daniel Lehmann [Tue, 23 Mar 2010 18:46:31 +0000 (11:46 -0700)]
Merge "When editing contacts, automatically expand "More" if data has been entered Bug:2534580"

14 years agoWhen editing contacts, automatically expand "More" if data has been entered
Daniel Lehmann [Tue, 23 Mar 2010 18:45:24 +0000 (11:45 -0700)]
When editing contacts, automatically expand "More" if data has been entered
Bug:2534580

Change-Id: Ic56fc755299f5da4d824e38f3a38f9e5b0bab0ef

14 years agoCheck the sync status while there is no contacts to show
Bai Tao [Fri, 19 Mar 2010 22:00:21 +0000 (06:00 +0800)]
Check the sync status while there is no contacts to show

Change-Id: I2fd074a748ea297b2f41e9ea8fa809a84fd751e6

14 years agoMerge "Avoid showing empty call log when activity is paused"
Dmitri Plotnikov [Sat, 20 Mar 2010 01:03:12 +0000 (18:03 -0700)]
Merge "Avoid showing empty call log when activity is paused"

14 years agoAvoid showing empty call log when activity is paused
Bai Tao [Sat, 20 Mar 2010 00:32:51 +0000 (08:32 +0800)]
Avoid showing empty call log when activity is paused

Change-Id: I480444933af797fc0dda43745d197b0691bc786b

14 years agoMerge "b/2528229 Add vCard import support to Gmail."
Attila Bodis [Fri, 19 Mar 2010 23:15:04 +0000 (16:15 -0700)]
Merge "b/2528229 Add vCard import support to Gmail."

14 years agoFix encoding of Uri for multi-vcard sending
Daniel Lehmann [Fri, 19 Mar 2010 21:54:29 +0000 (14:54 -0700)]
Fix encoding of Uri for multi-vcard sending

Change-Id: I365449365d0a3aade17ccf3b3ed038dc7827257b

14 years agoFirst name/last name instead of Given name/Family name in the US
Dmitri Plotnikov [Fri, 19 Mar 2010 22:04:17 +0000 (15:04 -0700)]
First name/last name instead of Given name/Family name in the US

Bug: 2522914
Change-Id: I75d79112de60105d7057ee74eefd50cb2c977851

14 years agoMerge "Add help text when user creates the shortcut but there is no contact."
Dmitri Plotnikov [Fri, 19 Mar 2010 17:08:32 +0000 (10:08 -0700)]
Merge "Add help text when user creates the shortcut but there is no contact."

14 years agoMerge "b/2499526 Call PhoneNumberFormatter function when show phone numbers of call...
Dmitri Plotnikov [Fri, 19 Mar 2010 06:53:31 +0000 (23:53 -0700)]
Merge "b/2499526 Call PhoneNumberFormatter function when show phone numbers of call log in the detail view"

14 years agob/2528229 Add vCard import support to Gmail.
Attila Bodis [Fri, 19 Mar 2010 05:06:37 +0000 (22:06 -0700)]
b/2528229 Add vCard import support to Gmail.

Change-Id: Idf96401e78f8321126e598574111dd7bf11f8e45

14 years agoAdd help text when user creates the shortcut but there is no contact.
Bai Tao [Fri, 19 Mar 2010 01:57:03 +0000 (09:57 +0800)]
Add help text when user creates the shortcut but there is no contact.

bug: 2139262
Change-Id: I04e8da5424f11e1e834e3bab6ea1b4c51b37b385

14 years agoMerge "Do not show an extra confirmation step when sharing lots of contacts Bug:2524537"
Daniel Lehmann [Thu, 18 Mar 2010 18:33:25 +0000 (11:33 -0700)]
Merge "Do not show an extra confirmation step when sharing lots of contacts Bug:2524537"

14 years agoImport revised translations
Kenny Root [Thu, 18 Mar 2010 05:13:37 +0000 (22:13 -0700)]
Import revised translations

Change-Id: I3a6909d3a030daea5241636c2c1864d153194464

14 years agoFixing aggregation mode for inserted contacts
Dmitri Plotnikov [Thu, 18 Mar 2010 04:15:01 +0000 (21:15 -0700)]
Fixing aggregation mode for inserted contacts

Change-Id: I716d742c72607c84e382b0c4baf3e2bea757d7c8

14 years agoDo not show an extra confirmation step when sharing lots of contacts
Daniel Lehmann [Thu, 18 Mar 2010 02:59:42 +0000 (19:59 -0700)]
Do not show an extra confirmation step when sharing lots of contacts
Bug:2524537

Change-Id: I55250f1da6208f2f6d16eb3a42ef854fa5396d68

14 years agoMerge "fix a crash when adding a group back to the sync set in the contacts display...
Fred Quintana [Wed, 17 Mar 2010 22:57:50 +0000 (15:57 -0700)]
Merge "fix a crash when adding a group back to the sync set in the contacts display groups UI"

14 years agofix a crash when adding a group back to the sync set
Fred Quintana [Wed, 17 Mar 2010 22:17:37 +0000 (15:17 -0700)]
fix a crash when adding a group back to the sync set
in the contacts display groups UI

Change-Id: I9a24b02701628bf8d7495a6734e35a9a4731029e
http://b/issue?id=2522758

14 years agoMerge "Save contacts photo in the same directory as Camera."
Chih-Chung Chang [Wed, 17 Mar 2010 17:58:47 +0000 (10:58 -0700)]
Merge "Save contacts photo in the same directory as Camera."

14 years agoFixing a broken test
Dmitri Plotnikov [Wed, 17 Mar 2010 17:43:45 +0000 (10:43 -0700)]
Fixing a broken test

Change-Id: I09e403a252ca98c7f03718b19c1ca40ad1a13e7a

14 years agoSave contacts photo in the same directory as Camera.
Chih-Chung Chang [Wed, 17 Mar 2010 17:31:30 +0000 (10:31 -0700)]
Save contacts photo in the same directory as Camera.

Change-Id: I5f4a68e01343b6be0e7d4cf8e330d02408c78699

14 years agoFixing highlighting of names with suffixes
Dmitri Plotnikov [Tue, 16 Mar 2010 23:55:17 +0000 (16:55 -0700)]
Fixing highlighting of names with suffixes

Bug: 2517678
Change-Id: Id25a4b86696c511ea1a0df49e607e710e2458e65

14 years agoFixing bad cursor access in Direct Dial Shortcut
Dmitri Plotnikov [Tue, 16 Mar 2010 22:38:04 +0000 (15:38 -0700)]
Fixing bad cursor access in Direct Dial Shortcut

Bug: 2512044
Change-Id: I7cc8e921ddfe34cafbccb5eb0530d9d7ab6e9ccf

14 years agoFixing NPE in "pick or create new contact"
Dmitri Plotnikov [Tue, 16 Mar 2010 22:22:23 +0000 (15:22 -0700)]
Fixing NPE in "pick or create new contact"

Bug: 2513826
Change-Id: I258da57feef78e3f30ee8372dba6caed81adc76d

14 years agoFixing NPE in contact editor
Dmitri Plotnikov [Tue, 16 Mar 2010 21:33:32 +0000 (14:33 -0700)]
Fixing NPE in contact editor

Bug: 2517377
Change-Id: I6ee53b075cb2946885c29ac498832f7f9aea820c

14 years agoDisabling aggregation of new contacts
Dmitri Plotnikov [Tue, 16 Mar 2010 19:31:09 +0000 (12:31 -0700)]
Disabling aggregation of new contacts

When the contact is created on the phone, don't aggregate
immediately. In the future, will show aggregation suggestions
after saving the contact.

Bug: 2480793
Change-Id: I9db1299d939ad93eaa2b9bd00a5b61cac153ed6b

14 years agoFixing NPE in raw contact sorting
Dmitri Plotnikov [Tue, 16 Mar 2010 02:06:33 +0000 (19:06 -0700)]
Fixing NPE in raw contact sorting

Bug: 2513827
Change-Id: I92e263d8d258ab49d4b513e8acd0586354af7c9d

14 years agoFixing provider status observer
Dmitri Plotnikov [Tue, 16 Mar 2010 01:41:58 +0000 (18:41 -0700)]
Fixing provider status observer

It needs to be unregistered onPause and reregistered onResume

Change-Id: I18f2fe0d013c560e92298ba7634e1dacc2cd7e93

14 years agoImplementing contact upgrade under low storage conditions.
Dmitri Plotnikov [Sat, 13 Mar 2010 03:28:21 +0000 (19:28 -0800)]
Implementing contact upgrade under low storage conditions.

Bug: 2498528
Change-Id: I2c85b0cbd4c7b804e61957695b803e22f995b405

14 years agoFix NPE caused by the selected entry is not valid when make a phone call
Bai Tao [Tue, 16 Mar 2010 00:09:11 +0000 (08:09 +0800)]
Fix NPE caused by the selected entry is not valid when make a phone call

Change-Id: Ifc974f43be4e58ca69f150a29d4b7e9a0670f08f

14 years agoMerge "Fixed NPE in adding a phone number to an existing contact from call log"
Dmitri Plotnikov [Mon, 15 Mar 2010 23:37:52 +0000 (16:37 -0700)]
Merge "Fixed NPE in adding a phone number to an existing contact from call log"

14 years agoFixed NPE in adding a phone number to an existing contact from call log
Dmitri Plotnikov [Mon, 15 Mar 2010 23:37:19 +0000 (16:37 -0700)]
Fixed NPE in adding a phone number to an existing contact from call log

Change-Id: Icb3b31e4dff9595c48dd374a98731df66a07b182

14 years agoMerge "Don't try to delete a contact if the URI is null."
Jeff Hamilton [Mon, 15 Mar 2010 21:39:05 +0000 (14:39 -0700)]
Merge "Don't try to delete a contact if the URI is null."

14 years agoDon't try to delete a contact if the URI is null.
Jeff Hamilton [Mon, 15 Mar 2010 21:31:11 +0000 (16:31 -0500)]
Don't try to delete a contact if the URI is null.

Bug: 2502840
Change-Id: I3fe31364ea1ff679a6af0b0ba15ce98e61d5d5fd

14 years agoPassing non-null class loader to readParcelable
Dmitri Plotnikov [Mon, 15 Mar 2010 17:44:42 +0000 (10:44 -0700)]
Passing non-null class loader to readParcelable

Bug: 2512038
Change-Id: I5c1e20f1fb40e81949c3c88e7f3210d11fcb31f0

14 years agob/2499526 Call PhoneNumberFormatter function when show phone numbers of call log...
Sang-il, Lee [Tue, 9 Mar 2010 11:37:19 +0000 (20:37 +0900)]
b/2499526 Call PhoneNumberFormatter function when show phone numbers of call log in the detail view

Change-Id: I530efcf77a7fc3941837a51819b1a03beb25cf19

14 years agoFix the recent call list flicker
Bai Tao [Sat, 13 Mar 2010 00:46:24 +0000 (08:46 +0800)]
Fix the recent call list flicker

Change-Id: I277ef95c9d3da9ee46b3e51ee61388d717ac86eb

14 years agoFix a long line
Daniel Lehmann [Fri, 12 Mar 2010 22:50:46 +0000 (14:50 -0800)]
Fix a long line

Change-Id: Iee0fd9c7328211f55598625d70ee916ac27d04d0

14 years agoMerge changes Ie617b76f,I83128ba7
Daniel Lehmann [Fri, 12 Mar 2010 22:49:47 +0000 (14:49 -0800)]
Merge changes Ie617b76f,I83128ba7

* changes:
  Fix creation of Uri if the lookup key has characters that are not allowed in a Uri
  Create a single VCard file for several contacts Bug:2501468

14 years agoFix creation of Uri if the lookup key has characters that are not allowed in a Uri
Daniel Lehmann [Fri, 12 Mar 2010 21:29:07 +0000 (13:29 -0800)]
Fix creation of Uri if the lookup key has characters that are not allowed in a Uri

Change-Id: Ie617b76fdb800b1b8877b435dabe37008f03a3bb

14 years agoCreate a single VCard file for several contacts
Daniel Lehmann [Fri, 12 Mar 2010 21:28:14 +0000 (13:28 -0800)]
Create a single VCard file for several contacts
Bug:2501468

Change-Id: I83128ba7f2cf120ec5816a2914b1e9501de526d9

14 years agoAdd a tiny TODO comment about duplicated code.
David Brown [Thu, 11 Mar 2010 23:32:52 +0000 (15:32 -0800)]
Add a tiny TODO comment about duplicated code.

Change-Id: I0a1a28a1f83ff0845ca4b4fdf176c8918d6d35a5

14 years agoMerge "Fixed crash Unable to add window"
Nicolas Catania [Fri, 12 Mar 2010 19:31:59 +0000 (11:31 -0800)]
Merge "Fixed crash Unable to add window"

14 years agoFixed crash Unable to add window
Nicolas Catania [Wed, 10 Mar 2010 18:41:48 +0000 (10:41 -0800)]
Fixed crash Unable to add window

Renamed onStop to onPause. onStop is not guaranteed to be called,
which is probably why we have some extra code duplication in the
finalize() method.

Added a new onDestroy to clean up all the pending callbacks.
At this stage, there is no window anymore and we should not
call showDialog.

Release the Handler in onDestroy.
Not doing so has been the source of memory leaks in the past.

Bug: 2501845
Change-Id: I35125fda1b53a6996b933056bafe2f0c04aea80a

14 years agoDon't show the buddy's offline status in Contacts
Bai Tao [Fri, 12 Mar 2010 00:00:42 +0000 (08:00 +0800)]
Don't show the buddy's offline status in Contacts

Bug: 2164303
Change-Id: Ida1e417b2f4654a5b018b4215f4fa445754a0a06

14 years agoAddressing concurrency issues in EditContactActivity
Dmitri Plotnikov [Thu, 11 Mar 2010 19:24:10 +0000 (11:24 -0800)]
Addressing concurrency issues in EditContactActivity

Bug: 2494582
Bug: 2502892
Change-Id: I57986c53d040aa27415bda9888919c9571590f20

14 years agoMerge "Handle notifications for apps on sd"
Suchi Amalapurapu [Thu, 11 Mar 2010 07:19:59 +0000 (23:19 -0800)]
Merge "Handle notifications for apps on sd"

14 years agoWill no longer stop photo loading onPause()
Dmitri Plotnikov [Thu, 11 Mar 2010 02:08:46 +0000 (18:08 -0800)]
Will no longer stop photo loading onPause()

When Quick Contact comes up, the activity is being paused, but
it is still visible and may need to load photos.

Bug: 2502532
Change-Id: Iea415c5a3a27e688ff800cf8821b707b68f6b39b

14 years agoHandle notifications for apps on sd
Suchi Amalapurapu [Wed, 10 Mar 2010 18:11:19 +0000 (10:11 -0800)]
Handle notifications for apps on sd

Change-Id: I91b631ec9377b996b40594c4930243b868fa1ac6

14 years agoFixing behavior of the CALL button while picking a phone from list.
Dmitri Plotnikov [Thu, 11 Mar 2010 00:13:42 +0000 (16:13 -0800)]
Fixing behavior of the CALL button while picking a phone from list.

Bug: 2496475
Change-Id: Ib9d69b7521559f6f9835c794461342e16868f7a5

14 years agoFix handling of ACTION_DIAL tel: URIs including '+' characters
Virgil King [Wed, 10 Mar 2010 21:44:11 +0000 (13:44 -0800)]
Fix handling of ACTION_DIAL tel: URIs including '+' characters

Use getSchemeSpecificPart() instead of substring() to extract phone numbers from tel: URIs to handle encoded characters properly

Bug: 2369658
Change-Id: Id31d41ebf0ccc0aa414e9a64a3e4d95047cf8aa7

14 years agoMerge "Allow direct dial shortcut in car home app"
Dmitri Plotnikov [Wed, 10 Mar 2010 18:24:23 +0000 (10:24 -0800)]
Merge "Allow direct dial shortcut in car home app"

14 years agoFixing NPE in Contacts when using the DEL key
Dmitri Plotnikov [Wed, 10 Mar 2010 18:12:31 +0000 (10:12 -0800)]
Fixing NPE in Contacts when using the DEL key

Steps to repro:

1. Open contacts
2. Hit search
3. Type something
4. Use DPAD to select the "Search more contacts"
5. Hit the DEL button on the keyboard

Bug: 2498804
Change-Id: Idd7ec89189878f105d58a22ce77d112a15cdaff0

14 years agoFixing NPE in contact search.
Dmitri Plotnikov [Wed, 10 Mar 2010 17:52:03 +0000 (09:52 -0800)]
Fixing NPE in contact search.

Also, removing interstitial text when loading contacts.

Bug: 2504029

Change-Id: I0596e87f4bc1117bf610d5d1f764825dd1124bdf

14 years agoA shot at fixing bug in parceling of EntitySet
Dmitri Plotnikov [Wed, 10 Mar 2010 17:35:07 +0000 (09:35 -0800)]
A shot at fixing bug in parceling of EntitySet

We'll need to keep watching for this bug, because I could
not reproduce it.  The fix is just the best guess after
and armchair investigation.

Bug: 2498937
Change-Id: Ic42cecc5ce79504e645bd07fb80d3ac0f53b3bed

14 years agoAllow direct dial shortcut in car home app
Tobias Haamel [Fri, 26 Feb 2010 15:24:45 +0000 (16:24 +0100)]
Allow direct dial shortcut in car home app

The new car home application will allow adding shortcuts. Since not
every shortcut makes sense in a car friendly environment, we'd like
to limit the shortcuts.
Shortcuts which should be available in a car friendly environment
need to contain the intent filter category "android.intent.category.CAR_DOCK".

14 years agoFixing a concurrency issue in insert new contact
Dmitri Plotnikov [Wed, 10 Mar 2010 03:37:59 +0000 (19:37 -0800)]
Fixing a concurrency issue in insert new contact

Bug: 2494578
Change-Id: Iee71342d053c440320e19521f4d4b6dff96e48c3

14 years agoFixing initial message displayed in Contacts.
Dmitri Plotnikov [Wed, 10 Mar 2010 01:56:25 +0000 (17:56 -0800)]
Fixing initial message displayed in Contacts.

Bug: 2501713
Change-Id: I20cdc2907caf06ba272f645cd95036bfe1072b5f

14 years agoFixing order of contact editors for CJK locales
Dmitri Plotnikov [Tue, 9 Mar 2010 23:12:10 +0000 (15:12 -0800)]
Fixing order of contact editors for CJK locales

Bug: 2498855
Change-Id: Idcacb05ad29a5898dc8a5626a90294a145c6eb57

14 years agoFixing NPE in Contact Preferences
Dmitri Plotnikov [Tue, 9 Mar 2010 23:09:50 +0000 (15:09 -0800)]
Fixing NPE in Contact Preferences

Bug: 2497173
Change-Id: I47d816c151294bb657804a27b2fca7761f39d940

14 years agoMerge "Do not show title in car mode."
Dmitri Plotnikov [Tue, 9 Mar 2010 23:05:13 +0000 (15:05 -0800)]
Merge "Do not show title in car mode."

14 years agoMerge "Fix 2498025: OOM while attaching picture taken from camera to new contact."
Chih-Chung Chang [Tue, 9 Mar 2010 21:46:58 +0000 (13:46 -0800)]
Merge "Fix 2498025: OOM while attaching picture taken from camera to new contact."

14 years agoFixing a resource loading issue.
Dmitri Plotnikov [Tue, 9 Mar 2010 21:39:38 +0000 (13:39 -0800)]
Fixing a resource loading issue.

Bug: 2500266
Change-Id: I3ae726c20cf222fa19d4b2fdbd18c961f4004504

14 years agoFix 2498025: OOM while attaching picture taken from camera to new contact.
Chih-Chung Chang [Tue, 9 Mar 2010 19:33:36 +0000 (11:33 -0800)]
Fix 2498025: OOM while attaching picture taken from camera to new contact.

Put files taken by camera into a "com.android.contacts.icon" directory on
sdcard and use MediaScanner to add the files into the media database.

Change-Id: I1cec096c039e399f10ce41982257795c0a1673f8

14 years agoDo not show title in car mode.
Bernd Holzhey [Tue, 2 Mar 2010 08:00:02 +0000 (09:00 +0100)]
Do not show title in car mode.

Do not show title in car mode to save real-estate and avoid displaying
application name for the dialer.

Change-Id: I1de93e082dc2090781ee121bfcbebd5808b0d9ea

14 years agoContacts UI that warns the user that the current locale is changing
Dmitri Plotnikov [Tue, 9 Mar 2010 19:05:55 +0000 (11:05 -0800)]
Contacts UI that warns the user that the current locale is changing

Basically, a "Please wait..." warning.

Bug: 2476633
Change-Id: I5fde15883b8891562e4e2fe13ebeeaf531021ced