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:
@@ -200,7 +200,7 @@ public class NightDisplaySettings extends SettingsPreferenceFragment
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.NIGHT_DISPLAY_SETTINGS;
|
||||
}
|
||||
}
|
||||
|
@@ -23,7 +23,7 @@ public class ScreenZoomPreferenceFragmentForSetupWizard
|
||||
extends ScreenZoomSettings {
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.SUW_ACCESSIBILITY_DISPLAY_SIZE;
|
||||
}
|
||||
|
||||
|
@@ -94,7 +94,7 @@ public class ScreenZoomSettings extends PreviewSeekBarPreferenceFragment impleme
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getMetricsCategory() {
|
||||
public int getMetricsCategory() {
|
||||
return MetricsEvent.DISPLAY_SCREEN_ZOOM;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user