diff options
| author | 2018-03-20 21:53:00 +0000 | |
|---|---|---|
| committer | 2018-03-20 21:53:00 +0000 | |
| commit | 6f2ed4ef0cb39b6775a37ac435b95b040d39e76a (patch) | |
| tree | 37bca9448e4d88c54f6dc6b9e1fdee317ad9938e | |
| parent | 0c477a814300f6166860bbc9e897cc3796bacc16 (diff) | |
| parent | 15f910f11c376abcde87f2cac4396570652cc1f5 (diff) | |
Merge "Cleaning up notification proto." into pi-dev am: c1812aa644
am: 15f910f11c
Change-Id: I20300ec3dfc4009c9a022b9fb742d6f0d1057db5
| -rw-r--r-- | core/proto/android/service/notification.proto | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/core/proto/android/service/notification.proto b/core/proto/android/service/notification.proto index 5c40e5fe346f..cccd2fe56800 100644 --- a/core/proto/android/service/notification.proto +++ b/core/proto/android/service/notification.proto @@ -93,7 +93,8 @@ message ManagedServicesProto { message ServiceProto { option (android.msg_privacy).dest = DEST_AUTOMATIC; - repeated string name = 1 [ (.android.privacy).dest = DEST_EXPLICIT ]; + // Package or component name. + repeated string name = 1; optional int32 user_id = 2; optional bool is_primary = 3; } @@ -169,16 +170,16 @@ message ConditionProto { message ZenRuleProto { option (android.msg_privacy).dest = DEST_EXPLICIT; - // Required for automatic (unique). + // Required for automatic ZenRules (unique). optional string id = 1; - // Required for automatic. + // Required for automatic ZenRules. optional string name = 2; - // Required for automatic. + // Required for automatic ZenRules. optional int64 creation_time_ms = 3 [ (android.privacy).dest = DEST_AUTOMATIC ]; optional bool enabled = 4 [ (android.privacy).dest = DEST_AUTOMATIC ]; - // Package name, only used for manual rules. + // Package name, only used for manual ZenRules. optional string enabler = 5 [ (android.privacy).dest = DEST_AUTOMATIC ]; // User manually disabled this instance. optional bool is_snoozing = 6 [ @@ -188,7 +189,7 @@ message ZenRuleProto { (android.privacy).dest = DEST_AUTOMATIC ]; - // Required for automatic. + // Required for automatic ZenRules. optional string condition_id = 8; optional ConditionProto condition = 9; optional android.content.ComponentNameProto component = 10; |