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

Commit be330550 authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Fix editor crash in multi-window mode

Bug: 31236427
Test: manual - based on "steps to reproduce" in the bug.
Change-Id: Iea187b7b1389a9f8ebd4acfd603cf51376c22c11
parent d609ed7b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -520,6 +520,9 @@ public class ContactEditorFragment extends ContactEditorBaseFragment implements

        @Override
        public void startPhotoActivity(Intent intent, int requestCode, Uri photoUri) {
            if (getActivity() == null) {
                return;
            }
            mRawContactIdRequestingPhoto = mEditor.getRawContactId();
            mCurrentPhotoHandler = this;
            mStatus = Status.SUB_ACTIVITY;