From d953cfb2d4b05915e5a8026c4d7d8420939f0e46 Mon Sep 17 00:00:00 2001 From: Jernej Virag Date: Fri, 28 Jul 2023 12:38:41 +0200 Subject: [PATCH] Enable listener for statsd notification memory collection This reenables registration for notification memory collection. To actually collect the data, server-side flag rollout still needs to happen. Bug: 290620219 Test: unit tests covering the class, manually checked on panther to verify no crashes Change-Id: If58bf46a676b3ea39b47a962853cc5484b9c2054 --- packages/SystemUI/src/com/android/systemui/flags/Flags.kt | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt index b04d9705f857c..faab57cd7bc3c 100644 --- a/packages/SystemUI/src/com/android/systemui/flags/Flags.kt +++ b/packages/SystemUI/src/com/android/systemui/flags/Flags.kt @@ -62,11 +62,12 @@ object Flags { val INSTANT_VOICE_REPLY = unreleasedFlag(111, "instant_voice_reply") /** - * This flag is server-controlled and should stay as [unreleasedFlag] since we never want to - * enable it on release builds. + * 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 = - unreleasedFlag(119, "notification_memory_logging_enabled") + releasedFlag(119, "notification_memory_logging_enabled") // TODO(b/260335638): Tracking Bug @JvmField