Loading packages/SettingsLib/src/com/android/settingslib/core/instrumentation/VisibilityLoggerMixin.java +4 −2 Original line number Diff line number Diff line Loading @@ -87,9 +87,11 @@ public class VisibilityLoggerMixin implements LifecycleObserver, OnAttach { if (mMetricsFeature == null || mMetricsCategory == METRICS_CATEGORY_UNKNOWN) { return; } if (mCreationTimestamp != 0L) { final int elapse = (int) (SystemClock.elapsedRealtime() - mCreationTimestamp); mMetricsFeature.action(METRICS_CATEGORY_UNKNOWN, action, mMetricsCategory, key, elapse); } } /** * Sets source metrics category for this logger. Source is the caller that opened this UI. Loading Loading
packages/SettingsLib/src/com/android/settingslib/core/instrumentation/VisibilityLoggerMixin.java +4 −2 Original line number Diff line number Diff line Loading @@ -87,9 +87,11 @@ public class VisibilityLoggerMixin implements LifecycleObserver, OnAttach { if (mMetricsFeature == null || mMetricsCategory == METRICS_CATEGORY_UNKNOWN) { return; } if (mCreationTimestamp != 0L) { final int elapse = (int) (SystemClock.elapsedRealtime() - mCreationTimestamp); mMetricsFeature.action(METRICS_CATEGORY_UNKNOWN, action, mMetricsCategory, key, elapse); } } /** * Sets source metrics category for this logger. Source is the caller that opened this UI. Loading