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

Commit 3cb77bbf authored by Wenyi Wang's avatar Wenyi Wang
Browse files

Fix IllegalStateException in multi-window mode

Bug 30302153

Change-Id: Ie9ca55bf9b3ddc3d1cc2aab10ebffeccc035d5f0
parent d1750fa7
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -228,6 +228,10 @@ public class CompactContactEditorFragment extends ContactEditorBaseFragment impl

    @Override
    public void onEditorsBound() {
        final Activity activity = getActivity();
        if (activity == null || activity.isFinishing()) {
            return;
        }
        getLoaderManager().initLoader(LOADER_GROUPS, null, mGroupsLoaderListener);
    }