Merge "Fix star/unstar on empty contacts by stopping caching them" into lmp-dev
diff --git a/src/com/android/contacts/quickcontact/QuickContactActivity.java b/src/com/android/contacts/quickcontact/QuickContactActivity.java
index eb69f7e..d664464 100644
--- a/src/com/android/contacts/quickcontact/QuickContactActivity.java
+++ b/src/com/android/contacts/quickcontact/QuickContactActivity.java
@@ -1868,13 +1868,13 @@
private Intent getEditContactIntent() {
final Intent intent = new Intent(Intent.ACTION_EDIT, mContactData.getLookupUri());
- mContactLoader.cacheResult();
intent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
return intent;
}
private void editContact() {
mHasIntentLaunched = true;
+ mContactLoader.cacheResult();
startActivityForResult(getEditContactIntent(), REQUEST_CODE_CONTACT_EDITOR_ACTIVITY);
}