Loading src/com/android/settings/core/InstrumentedPreferenceFragment.java +4 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,10 @@ public abstract class InstrumentedPreferenceFragment extends ObservablePreferenc return -1; } protected void writeElapsedTimeMetric(int action, String key) { mVisibilityLoggerMixin.writeElapsedTimeMetric(action, key); } private void updateActivityTitleWithScreenTitle(PreferenceScreen screen) { if (screen != null) { final CharSequence title = screen.getTitle(); Loading src/com/android/settings/dashboard/DashboardFragment.java +4 −3 Original line number Diff line number Diff line Loading @@ -73,13 +73,12 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment new ArrayMap<>(); private final List<DynamicDataObserver> mRegisteredObservers = new ArrayList<>(); private final List<AbstractPreferenceController> mControllers = new ArrayList<>(); @VisibleForTesting UiBlockerController mBlockerController; private DashboardFeatureProvider mDashboardFeatureProvider; private DashboardTilePlaceholderPreferenceController mPlaceholderPreferenceController; private boolean mListeningToCategoryChange; private List<String> mSuppressInjectedTileKeys; @VisibleForTesting UiBlockerController mBlockerController; @Override public void onAttach(Context context) { Loading Loading @@ -195,6 +194,8 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment public void onResume() { super.onResume(); updatePreferenceStates(); writeElapsedTimeMetric(SettingsEnums.ACTION_DASHBOARD_VISIBLE_TIME, "isParalleledControllers:" + isParalleledControllers()); } @Override Loading Loading
src/com/android/settings/core/InstrumentedPreferenceFragment.java +4 −0 Original line number Diff line number Diff line Loading @@ -98,6 +98,10 @@ public abstract class InstrumentedPreferenceFragment extends ObservablePreferenc return -1; } protected void writeElapsedTimeMetric(int action, String key) { mVisibilityLoggerMixin.writeElapsedTimeMetric(action, key); } private void updateActivityTitleWithScreenTitle(PreferenceScreen screen) { if (screen != null) { final CharSequence title = screen.getTitle(); Loading
src/com/android/settings/dashboard/DashboardFragment.java +4 −3 Original line number Diff line number Diff line Loading @@ -73,13 +73,12 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment new ArrayMap<>(); private final List<DynamicDataObserver> mRegisteredObservers = new ArrayList<>(); private final List<AbstractPreferenceController> mControllers = new ArrayList<>(); @VisibleForTesting UiBlockerController mBlockerController; private DashboardFeatureProvider mDashboardFeatureProvider; private DashboardTilePlaceholderPreferenceController mPlaceholderPreferenceController; private boolean mListeningToCategoryChange; private List<String> mSuppressInjectedTileKeys; @VisibleForTesting UiBlockerController mBlockerController; @Override public void onAttach(Context context) { Loading Loading @@ -195,6 +194,8 @@ public abstract class DashboardFragment extends SettingsPreferenceFragment public void onResume() { super.onResume(); updatePreferenceStates(); writeElapsedTimeMetric(SettingsEnums.ACTION_DASHBOARD_VISIBLE_TIME, "isParalleledControllers:" + isParalleledControllers()); } @Override Loading