Log visibility change for all fragments.
Bug: 30681771 Test: SettingsUnitTests Refactor visibility logging from InstrumentedFragment into a mixin. And apply mixin in remaining fragments. Change-Id: Ibbb59904336254a3e4bb9e8c7d0b36e5a6bc2622
This commit is contained in:
@@ -48,7 +48,7 @@ public class AdvancedWifiSettings extends RestrictedSettingsFragment {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.WIFI_ADVANCED;
|
||||
}
|
||||
|
||||
|
||||
@@ -242,7 +242,7 @@ public class ConfigureWifiSettings extends SettingsPreferenceFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.CONFIGURE_WIFI;
|
||||
}
|
||||
|
||||
|
||||
@@ -59,7 +59,7 @@ public class SavedAccessPointsWifiSettings extends SettingsPreferenceFragment
|
||||
private static final String SAVE_DIALOG_ACCESS_POINT_STATE = "wifi_ap_state";
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.WIFI_SAVED_ACCESS_POINTS;
|
||||
}
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@ public class WifiAPITest extends SettingsPreferenceFragment implements
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.TESTING;
|
||||
}
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ public class WifiInfo extends SettingsPreferenceFragment {
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.TESTING;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -351,7 +351,7 @@ public class WifiSettings extends RestrictedSettingsFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.WIFI;
|
||||
}
|
||||
|
||||
|
||||
@@ -491,7 +491,7 @@ public class WifiP2pSettings extends SettingsPreferenceFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.WIFI_P2P;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user