Merge "Fix Wifi & Bluetooth slice can't show on search result"

This commit is contained in:
TreeHugger Robot
2020-02-12 10:39:28 +00:00
committed by Android (Google) Code Review
4 changed files with 3 additions and 11 deletions

View File

@@ -150,13 +150,5 @@ public class NetworkDashboardFragment extends DashboardFragment implements
null /* metricsFeatureProvider */, null /* fragment */,
null /* mobilePlanHost */);
}
@Override
public List<String> getNonIndexableKeys(Context context) {
List<String> keys = super.getNonIndexableKeys(context);
// Remove master switch as a result
keys.add(WifiMasterSwitchPreferenceController.KEY_TOGGLE_WIFI);
return keys;
}
};
}