Merge "Hides gesture nav settings page from search, when not available" into rvc-dev am: bddb0eb3dd am: 23140d190f am: 59f0691ad7 am: 467a9209ec am: a295e44763
Change-Id: Ic93da55f5a8e181408e447c696296335e8024d72
This commit is contained in:
@@ -145,5 +145,12 @@ public class GestureNavigationSettingsFragment extends DashboardFragment {
|
||||
}
|
||||
|
||||
public static final BaseSearchIndexProvider SEARCH_INDEX_DATA_PROVIDER =
|
||||
new BaseSearchIndexProvider(R.xml.gesture_navigation_settings);
|
||||
new BaseSearchIndexProvider(R.xml.gesture_navigation_settings) {
|
||||
|
||||
@Override
|
||||
protected boolean isPageSearchEnabled(Context context) {
|
||||
return SystemNavigationPreferenceController.isGestureAvailable(context);
|
||||
}
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user