From 7fb7944c4d1c9312bd141e49d714b3d8b4380a12 Mon Sep 17 00:00:00 2001 From: Will Brockman Date: Thu, 27 Feb 2020 14:34:24 -0500 Subject: [PATCH] Statsd: modules for notifications atoms. Also move NotificationChannelModified to logging hash of channel id, to match the changes to NotificationReported. Change-Id: Ic55f54bf59904aaa21653c8d9dc0ce9c706f9735 Bug: 146488473 Test: mp droid and check FrameworkStatsLog.java and SysUiStatsLog.java Change-Id: If444e541ae06cdfcb9631dddcb8b923ef6ff6a4a --- cmds/statsd/src/atoms.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index 257554207ef5d..f2491a3b9a5c2 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -380,8 +380,8 @@ message Atom { BootTimeEventErrorCode boot_time_event_error_code_reported = 242 [(module) = "framework"]; UserspaceRebootReported userspace_reboot_reported = 243 [(module) = "framework"]; NotificationReported notification_reported = 244 [(module) = "framework"]; - NotificationPanelReported notification_panel_reported = 245; - NotificationChannelModified notification_channel_modified = 246; + NotificationPanelReported notification_panel_reported = 245 [(module) = "sysui"]; + NotificationChannelModified notification_channel_modified = 246 [(module) = "framework"]; IntegrityCheckResultReported integrity_check_result_reported = 247 [(module) = "framework"]; IntegrityRulesPushed integrity_rules_pushed = 248 [(module) = "framework"]; CellBroadcastMessageReported cb_message_reported = @@ -3589,8 +3589,8 @@ message NotificationChannelModified { // The notifying app's uid and package. optional int32 uid = 2 [(is_uid) = true]; optional string package_name = 3; - // App-assigned notification channel ID or channel-group ID - optional string channel_id = 4; + // Hash of app-assigned notification channel ID or channel-group ID + optional int32 channel_id_hash = 4; // Previous importance setting, if applicable optional android.stats.sysui.NotificationImportance old_importance = 5; // New importance setting