Allow notification filtering per listener.

Test: atest
Bug: 173052211
Change-Id: I54c740e9755f18339c59aad4f1f5aecd8c734892
This commit is contained in:
Julia Reynolds
2021-01-05 16:54:54 -05:00
parent 0fd2a2008a
commit eb2b36a5e2
7 changed files with 355 additions and 2 deletions

View File

@@ -1532,4 +1532,21 @@
<item>8</item>
<item>12</item>
</string-array>
<!-- Array of titles list for notification listener notification types. [DO NOT TRANSLATE] -->
<string-array name="notif_types_titles" translatable="false">
<item>@string/notif_type_ongoing</item>
<item>@string/notif_type_conversation</item>
<item>@string/notif_type_alerting</item>
<item>@string/notif_type_silent</item>
</string-array>
<!-- Values of list for notification listener notification types. Values need to match
android.service.notification.NotificationListenerService. [DO NOT TRANSLATE] -->
<string-array name="notif_types_values" translatable="false">
<item>8</item>
<item>1</item>
<item>2</item>
<item>4</item>
</string-array>
</resources>