diff options
author | Kweku Adams <kwekua@google.com> | 2017-09-25 16:29:54 -0700 |
---|---|---|
committer | Kweku Adams <kwekua@google.com> | 2017-09-25 16:33:44 -0700 |
commit | 5ec78cd58fec367eb6aaaab17019b007a66d4a66 (patch) | |
tree | 98f2d3e72e0b529685266762e0237086854348be /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 2c770a0870df2aa7af876d8dfa3fee5dcdad29c2 (diff) |
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
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions