diff options
| -rw-r--r-- | cmds/statsd/src/atoms.proto | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/cmds/statsd/src/atoms.proto b/cmds/statsd/src/atoms.proto index dfb40a9bd16f..8d8107526898 100644 --- a/cmds/statsd/src/atoms.proto +++ b/cmds/statsd/src/atoms.proto @@ -2107,25 +2107,34 @@ message Notification { optional int32 importance = 7; // ID for the notification channel. - optional int32 channel_id = 8; + optional string channel_id = 8; // Importance for the notification channel. optional int32 channel_importance = 9; + // Application-supplied ID associated with the notifications group. + optional string group_id = 10; + // Whether notification was a group summary. - optional bool group_summary = 10; + optional bool group_summary = 11; + + // Reason for dismissal of a notification. This field is only meaningful for + // TYPE_DISMISS events. + optional int32 dismiss_reason = 12; - // Time since notification was created in milliseconds. - optional int64 since_create_millis = 11; + // The first post time of notification, stable across updates. + optional int64 creation_millis = 13; - // Time since notification was interrupted in milliseconds. - optional int64 since_interruption_millis = 12; + // The most recent interruption time, or the creation time if no updates. + // Differs from update_millis because updates are filtered based on whether + // they actually interrupted the user. + optional int64 interruption_millis = 14; - // Time since notification was updated in milliseconds. - optional int64 since_update_millis = 13; + // The most recent update time, or the creation time if no updates. + optional int64 update_millis = 15; - // Time since notification was visible in milliseconds. - optional int64 since_visible_millis = 14; + // The most recent visibility event. + optional int64 visible_millis = 16; } @@ -3102,4 +3111,4 @@ message UserRestrictionChanged { optional string restriction = 1; // Whether the restriction is enabled or disabled. optional bool enabled = 2; -}
\ No newline at end of file +} |