Loading packages/SystemUI/src/com/android/systemui/flags/Flags.kt +0 −8 Original line number Diff line number Diff line Loading @@ -60,14 +60,6 @@ object Flags { "notification_drag_to_contents" ) /** * This flag controls whether we register a listener for StatsD notification memory reports. * For statsd to actually call the listener however, a server-side toggle needs to be * enabled as well. */ val NOTIFICATION_MEMORY_LOGGING_ENABLED = releasedFlag("notification_memory_logging_enabled") // TODO(b/280783617): Tracking Bug @Keep @JvmField Loading packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/NotificationMemoryMonitor.kt +1 −7 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ package com.android.systemui.statusbar.notification.logging import android.util.Log import com.android.systemui.CoreStartable import com.android.systemui.dagger.SysUISingleton import com.android.systemui.flags.FeatureFlags import com.android.systemui.flags.Flags import dagger.Lazy import javax.inject.Inject Loading @@ -30,7 +28,6 @@ import javax.inject.Inject class NotificationMemoryMonitor @Inject constructor( private val featureFlags: FeatureFlags, private val notificationMemoryDumper: NotificationMemoryDumper, private val notificationMemoryLogger: Lazy<NotificationMemoryLogger>, ) : CoreStartable { Loading @@ -42,9 +39,6 @@ constructor( override fun start() { Log.d(TAG, "NotificationMemoryMonitor initialized.") notificationMemoryDumper.init() if (featureFlags.isEnabled(Flags.NOTIFICATION_MEMORY_LOGGING_ENABLED)) { Log.d(TAG, "Notification memory logging enabled.") notificationMemoryLogger.get().init() } } } Loading
packages/SystemUI/src/com/android/systemui/flags/Flags.kt +0 −8 Original line number Diff line number Diff line Loading @@ -60,14 +60,6 @@ object Flags { "notification_drag_to_contents" ) /** * This flag controls whether we register a listener for StatsD notification memory reports. * For statsd to actually call the listener however, a server-side toggle needs to be * enabled as well. */ val NOTIFICATION_MEMORY_LOGGING_ENABLED = releasedFlag("notification_memory_logging_enabled") // TODO(b/280783617): Tracking Bug @Keep @JvmField Loading
packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/NotificationMemoryMonitor.kt +1 −7 Original line number Diff line number Diff line Loading @@ -20,8 +20,6 @@ package com.android.systemui.statusbar.notification.logging import android.util.Log import com.android.systemui.CoreStartable import com.android.systemui.dagger.SysUISingleton import com.android.systemui.flags.FeatureFlags import com.android.systemui.flags.Flags import dagger.Lazy import javax.inject.Inject Loading @@ -30,7 +28,6 @@ import javax.inject.Inject class NotificationMemoryMonitor @Inject constructor( private val featureFlags: FeatureFlags, private val notificationMemoryDumper: NotificationMemoryDumper, private val notificationMemoryLogger: Lazy<NotificationMemoryLogger>, ) : CoreStartable { Loading @@ -42,9 +39,6 @@ constructor( override fun start() { Log.d(TAG, "NotificationMemoryMonitor initialized.") notificationMemoryDumper.init() if (featureFlags.isEnabled(Flags.NOTIFICATION_MEMORY_LOGGING_ENABLED)) { Log.d(TAG, "Notification memory logging enabled.") notificationMemoryLogger.get().init() } } }