OSDN Git Service

Fix ImportVCardActivity so that NPE will never occur during import.
authorDaisuke Miyakawa <dmiyakawa@google.com>
Fri, 2 Oct 2009 23:48:06 +0000 (16:48 -0700)
committerDaisuke Miyakawa <dmiyakawa@google.com>
Thu, 8 Oct 2009 01:16:19 +0000 (18:16 -0700)
commit652a8d7b159ea159205a617ee43712bfbcc40def
treeb2bf5c835aeb1eee6e8e159d818580e9ab22d3d7
parent2a5a27a05085c2e9d3884860970e2c56295de8c9
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
src/com/android/contacts/ImportVCardActivity.java