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

Commit 15102c11 authored by Daniel Lehmann's avatar Daniel Lehmann
Browse files

Guarded the getActivity() call

Bug:7026011
Change-Id: Ib4f4fe97023b90472586379679e0e6ab4876fd07
parent 314941d3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -216,7 +216,7 @@ public class ContactLoaderFragment extends Fragment implements FragmentKeyListen
                }
            }
            // Make sure the options menu is setup correctly with the loaded data.
            getActivity().invalidateOptionsMenu();
            if (getActivity() != null) getActivity().invalidateOptionsMenu();
        }

        @Override