History log of /frameworks/base/core/proto/android/app/notificationmanager.proto
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
99546338273fd2fdbcab2d5cd0dfbc2035b935e8 25-Jan-2018 Kweku Adams <kwekua@google.com> incidentd: Adding privacy tag and expanding field.

Also updating priority category enum to note new values.
Bug: 65750824
Bug: 72393215
Test: flash device and check incident.proto output

Change-Id: I0c764cd4bb258160aa7140e60e81f76f84cc28ce
/frameworks/base/core/proto/android/app/notificationmanager.proto
c7f93070b6a5c8c12afcb77eb4e95c3018e1729f 30-Sep-2017 Yi Jin <jinyithu@google.com> Convert proto3 to proto2 to avoid forced zero enum value.

The rationale for this change:
1. When defining enum values for platform, we want to use the current
integers, in some cases zero is not defined, but proto3 enforces a zero
default value.

2. Android Metrics Team uses proto2 on server-side

3. When copying .proto to server-side, the known issue of dropping
unknown fields might affect if using proto3

4. Not much benefits from using proto3

Bug: 67110257
Test: manully generate incident report and it looks normal
Change-Id: Ia63e39de549a46683e9f80fcb74f1d771782b7f4
/frameworks/base/core/proto/android/app/notificationmanager.proto
5ec78cd58fec367eb6aaaab17019b007a66d4a66 26-Sep-2017 Kweku Adams <kwekua@google.com> incidentd: creating PolicyProto for NotificationManager

The previous code saved a String in the proto like
"NotificationManager.Policy[priorityCategories=PRIORITY_CATEGORY_REMINDERS,PRIORITY_CATEGORY_EVENTS,PRIORITY_CATEGORY_MESSAGES,PRIORITY_CATEGORY_CALLS,PRIORITY_CATEGORY_REPEAT_CALLERS,priorityCallSenders=PRIORITY_SENDERS_STARRED,priorityMessageSenders=PRIORITY_SENDERS_STARRED,suppressedVisualEffects=SUPPRESSED_EFFECT_SCREEN_OFF]".
This unfortunately would mean that the String would have to be parsed on
the server-side, which kinda defeats the purpose of migrating to protos,
so I made a proto for this :)

BUG: 65750824
Test: flash device and check incident.proto output, comparing it to the previous output
Change-Id: I87607dc7b72ce3519132da23167b4bdce3b7ef4c
/frameworks/base/core/proto/android/app/notificationmanager.proto