am 71fb3cfa: am c8bd00d2: Merge "Fix star/unstar on empty contacts by stopping caching them" into lmp-dev
* commit '71fb3cfa7d4b67afbb34393185bde82802431d14':
Fix star/unstar on empty contacts by stopping caching them
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);
}