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

Commit e7641653 authored by Jason Monk's avatar Jason Monk
Browse files

Context isn't good enough, actually check for null

Bug: 25606212
Change-Id: Ic765d5a37fa19ecd22bb47694514e6ee0bdb84a5
parent 886978f4
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -552,6 +552,7 @@ public class DataUsageSummary extends HighlightingFragment implements Indexable
    @Override
    public void onPrepareOptionsMenu(Menu menu) {
        final Context context = getContext();
        if (context == null) return;
        final boolean appDetailMode = isAppDetailMode();
        final boolean isAdmin = mUserManager.isAdminUser();