From cecebdca9081be14ec6d0f8d3459e6c7dce5eac1 Mon Sep 17 00:00:00 2001 From: tsaichristine Date: Tue, 4 Feb 2020 14:05:56 -0800 Subject: [PATCH] Deprecate WifiRunningStateChanged atom The callers for this atom were removed in R. This atom no longer logs any events in statsd. Test: bit statsd_test:* Change-Id: I6da7055653f9c28c2ca440a13e71981c765bff0e --- cmds/statsd/src/atoms.proto | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index fccefdc073631..9808f04e0a0d9 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -202,7 +202,8 @@ message Atom { DocsUIStartupMsReported docs_ui_startup_ms = 111 [(module) = "docsui"]; DocsUIUserActionReported docs_ui_user_action_reported = 112 [(module) = "docsui"]; WifiEnabledStateChanged wifi_enabled_state_changed = 113 [(module) = "framework"]; - WifiRunningStateChanged wifi_running_state_changed = 114 [(module) = "framework"]; + WifiRunningStateChanged wifi_running_state_changed = 114 + [(module) = "framework", deprecated = true]; AppCompacted app_compacted = 115 [(module) = "framework"]; NetworkDnsEventReported network_dns_event_reported = 116 [(module) = "resolv"]; DocsUIPickerLaunchedFromReported docs_ui_picker_launched_from_reported = @@ -1258,6 +1259,8 @@ message WifiEnabledStateChanged { } /** + * This atom is deprecated starting in R. + * * Logs when an app causes Wifi to run. In this context, 'to run' means to use Wifi Client Mode. * TODO: Include support for Hotspot, perhaps by using an extra field to denote 'mode'. * Note that Wifi Scanning is monitored separately in WifiScanStateChanged.