Suppress some gesture search when there is no hardware

Change-Id: I780fe337da25d144b6966a098e95de52b1513e39
Fixes: 110250839
Test: robotests
This commit is contained in:
Fan Zhang
2018-06-18 13:58:31 -07:00
parent 81ec9e1131
commit 877fcd8013
3 changed files with 31 additions and 9 deletions

View File

@@ -72,5 +72,10 @@ public class SwipeToNotificationSettings extends DashboardFragment {
sir.xmlResId = R.xml.swipe_to_notification_settings;
return Arrays.asList(sir);
}
@Override
protected boolean isPageSearchEnabled(Context context) {
return SwipeToNotificationPreferenceController.isAvailable(context);
}
};
}