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

Commit 873e048b authored by Josh Gargus's avatar Josh Gargus Committed by Android (Google) Code Review
Browse files

Merge "Avoid crash when re-saving new contact with photo." into jb-dev

parents cc5b1294 87270e1b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -1027,8 +1027,11 @@ public class ContactEditorFragment extends Fragment implements
        Intent intent = ContactSaveService.createSaveContactIntent(getActivity(), mState,
                SAVE_MODE_EXTRA_KEY, saveMode, isEditingUserProfile(), getActivity().getClass(),
                ContactEditorActivity.ACTION_SAVE_COMPLETED, mUpdatedPhotos);

        getActivity().startService(intent);

        // Don't try to save the same photos twice.
        mUpdatedPhotos = new Bundle();

        return true;
    }