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:
Fan Zhang
2016-08-08 10:25:13 -07:00
parent b373e5cf0c
commit 6507613ebc
183 changed files with 556 additions and 288 deletions

View File

@@ -37,8 +37,6 @@ import java.util.List;
public class AccessibilitySettingsForSetupWizard extends SettingsPreferenceFragment
implements Preference.OnPreferenceChangeListener {
private static final String TAG = AccessibilitySettingsForSetupWizard.class.getSimpleName();
// Preferences.
private static final String DISPLAY_MAGNIFICATION_PREFERENCE =
"screen_magnification_preference";
@@ -50,7 +48,7 @@ public class AccessibilitySettingsForSetupWizard extends SettingsPreferenceFragm
private Preference mScreenReaderPreference;
@Override
protected int getMetricsCategory() {
public int getMetricsCategory() {
return MetricsEvent.SUW_ACCESSIBILITY;
}