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

Commit 0d76abce authored by Gary Mai's avatar Gary Mai
Browse files

Pass results from QuickContactActivity to calling activities

If an edit or a deletion was made in the QuickContactActivity
through the ContactEditor, pass that result back to calling
activities so they know what happened.

Bug:28625960
Change-Id: I92a945282b41b33cc114f9d3c1203372f224d11a
parent ed5817b9
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -1165,6 +1165,7 @@ public class QuickContactActivity extends ContactsActivity
        final boolean deletedOrSplit = requestCode == REQUEST_CODE_CONTACT_EDITOR_ACTIVITY &&
                (resultCode == ContactDeletionInteraction.RESULT_CODE_DELETED ||
                resultCode == ContactEditorBaseActivity.RESULT_CODE_SPLIT);
        setResult(resultCode, data);
        if (deletedOrSplit) {
            finish();
        } else if (requestCode == REQUEST_CODE_CONTACT_SELECTION_ACTIVITY &&