Remove getCategoryKey() from DashboardFragment children.
Use the centralized registry to look up category key instead. Bug: 32936784 Test: make RunSettingsRoboTests -j40 Change-Id: I0b8c72d70f93e4b5c58871ac90de41f69ad15653
This commit is contained in:
@@ -15,8 +15,6 @@
|
||||
*/
|
||||
package com.android.settings.wifi;
|
||||
|
||||
import static android.content.Context.WIFI_SERVICE;
|
||||
|
||||
import android.content.Context;
|
||||
import android.net.wifi.WifiManager;
|
||||
import android.provider.SearchIndexableResource;
|
||||
@@ -32,6 +30,8 @@ import java.util.ArrayList;
|
||||
import java.util.Arrays;
|
||||
import java.util.List;
|
||||
|
||||
import static android.content.Context.WIFI_SERVICE;
|
||||
|
||||
public class ConfigureWifiSettings extends DashboardFragment {
|
||||
|
||||
private static final String TAG = "ConfigureWifiSettings";
|
||||
@@ -43,12 +43,6 @@ public class ConfigureWifiSettings extends DashboardFragment {
|
||||
return MetricsEvent.CONFIGURE_WIFI;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getCategoryKey() {
|
||||
// We don't want to inject any external settings into this screen.
|
||||
return null;
|
||||
}
|
||||
|
||||
@Override
|
||||
protected String getLogTag() {
|
||||
return TAG;
|
||||
|
Reference in New Issue
Block a user