Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c8bd00d2 authored by Zheng Fu's avatar Zheng Fu Committed by Android (Google) Code Review
Browse files

Merge "Fix star/unstar on empty contacts by stopping caching them" into lmp-dev

parents 1bbce645 c00a0b53
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1868,13 +1868,13 @@ public class QuickContactActivity extends ContactsActivity {

    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);
    }