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

Commit bddb0eb3 authored by Mehdi Alizadeh's avatar Mehdi Alizadeh Committed by Android (Google) Code Review
Browse files

Merge "Hides gesture nav settings page from search, when not available" into rvc-dev

parents 9b2f448b 6421bec3
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -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);
                }
            };

}