OSDN Git Service

Resetting URI before a contact lookup
authorDmitri Plotnikov <dplotnikov@google.com>
Thu, 3 Sep 2009 21:37:15 +0000 (14:37 -0700)
committerDmitri Plotnikov <dplotnikov@google.com>
Thu, 3 Sep 2009 21:37:15 +0000 (14:37 -0700)
src/com/android/contacts/ViewContactActivity.java

index 0939f6c..0eafd7c 100644 (file)
@@ -426,6 +426,7 @@ public class ViewContactActivity extends Activity
     private void startEntityQuery() {
         closeCursor();
 
+        mUri = null;
         if (mLookupUri != null) {
             mLookupUri = Contacts.getLookupUri(getContentResolver(), mLookupUri);
             if (mLookupUri != null) {