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

Commit d4dd48ac authored by Tony Wickham's avatar Tony Wickham
Browse files

Add null check to NavigationModeFeatureFlag

Test: none
Fixes: 185790043
Change-Id: I591c18df0394e7ab4286687fffe8713a4507373e
parent 5241e3eb
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -46,7 +46,8 @@ public class NavigationModeFeatureFlag implements
    }

    public boolean get() {
        return mBasePredicate.get() && mSupported && mObserver.isHomeAndOverviewSame();
        return mBasePredicate.get() && mSupported && mObserver != null
                && mObserver.isHomeAndOverviewSame();
    }

    public void initialize(Context context) {