Merge "Add null check to NavigationModeFeatureFlag" into sc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
024dd4ba47
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user