Removed result forwarding from the contact browser
Change-Id: I177c80ff4b030b1dd7d8638de62104c09f4ab073
diff --git a/src/com/android/contacts/ContactsListActivity.java b/src/com/android/contacts/ContactsListActivity.java
index ffb2bc9..b0d77de 100644
--- a/src/com/android/contacts/ContactsListActivity.java
+++ b/src/com/android/contacts/ContactsListActivity.java
@@ -557,18 +557,25 @@
}
public void onViewContactAction(Uri contactLookupUri) {
- final Intent intent = new Intent(Intent.ACTION_VIEW, contactLookupUri);
- startActivityAndForwardResult(intent);
+ startActivity(new Intent(Intent.ACTION_VIEW, contactLookupUri));
}
public void onCreateNewContactAction() {
Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI);
- startActivityAndForwardResult(intent);
+ Bundle extras = getIntent().getExtras();
+ if (extras != null) {
+ intent.putExtras(extras);
+ }
+ startActivity(intent);
}
public void onEditContactAction(Uri contactLookupUri) {
Intent intent = new Intent(Intent.ACTION_EDIT, contactLookupUri);
- startActivityAndForwardResult(intent);
+ Bundle extras = getIntent().getExtras();
+ if (extras != null) {
+ intent.putExtras(extras);
+ }
+ startActivity(intent);
}
public void onAddToFavoritesAction(Uri contactUri) {