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

Commit e21b1670 authored by Katherine Kuan's avatar Katherine Kuan
Browse files

Fix NPE in PeopleActivity with returning a null intent from editor

Bug: 5592500
Change-Id: Iabbdc4c0422a58cfc557cbcd84a92d33c1b01ff6
parent 109d9066
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -164,7 +164,7 @@ public class ContactEditorActivity extends ContactsActivity
        @Override
        public void onSaveFinished(Intent resultIntent) {
            if (mFinishActivityOnSaveCompleted) {
                setResult(RESULT_OK, resultIntent);
                setResult(resultIntent == null ? RESULT_CANCELED : RESULT_OK, resultIntent);
            } else if (resultIntent != null) {
                startActivity(resultIntent);
            }