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:
@@ -357,7 +357,7 @@ public class AppDataUsage extends DataUsageBase implements Preference.OnPreferen
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.APP_DATA_USAGE;
|
||||
}
|
||||
|
||||
|
@@ -137,7 +137,7 @@ public class BillingCycleSettings extends DataUsageBase implements
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.BILLING_CYCLE;
|
||||
}
|
||||
|
||||
|
@@ -100,7 +100,7 @@ public class DataSaverSummary extends SettingsPreferenceFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.DATA_SAVER_SUMMARY;
|
||||
}
|
||||
|
||||
|
@@ -109,7 +109,7 @@ public class DataUsageList extends DataUsageBase {
|
||||
private View mHeader;
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.DATA_USAGE_LIST;
|
||||
}
|
||||
|
||||
|
@@ -61,7 +61,7 @@ public class DataUsageMeteredSettings extends SettingsPreferenceFragment impleme
|
||||
private Preference mWifiDisabled;
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.NET_DATA_USAGE_METERED;
|
||||
}
|
||||
|
||||
|
@@ -257,7 +257,7 @@ public class DataUsageSummary extends DataUsageBase implements Indexable, DataUs
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.DATA_USAGE_SUMMARY;
|
||||
}
|
||||
|
||||
|
@@ -204,7 +204,7 @@ public class UnrestrictedDataAccess extends SettingsPreferenceFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.DATA_USAGE_UNRESTRICTED_ACCESS;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user