Merge "Add config value to switch between Tether Settings UIs."

This commit is contained in:
Zhen Zhang
2020-01-23 07:07:09 +00:00
committed by Android (Google) Code Review
6 changed files with 35 additions and 7 deletions

View File

@@ -257,6 +257,12 @@ public class WifiTetherSettings extends RestrictedDashboardFragment
return keys;
}
@Override
protected boolean isPageSearchEnabled(Context context) {
return !context.getResources().getBoolean(
R.bool.config_show_all_in_one_tether_settings);
}
@Override
public List<AbstractPreferenceController> createPreferenceControllers(
Context context) {