summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Julia Reynolds <juliacr@google.com> 2021-09-30 09:38:10 -0400
committer Julia Reynolds <juliacr@google.com> 2021-09-30 13:42:25 +0000
commitde26725e3f5a8ba35ffb79250c80947307b85e28 (patch)
treef44ca67ddf502462866f5a2882253e05618ee2f1
parent039e8a7bafc6e82aa537d7037135066c698dbd71 (diff)
Fix incorrect documentation
Test: manual Fixes: 200704292 Change-Id: I6d72f1134b225a6aa1537bd703444e3b33d2f6a5
-rw-r--r--core/java/android/service/notification/NotificationListenerService.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/core/java/android/service/notification/NotificationListenerService.java b/core/java/android/service/notification/NotificationListenerService.java
index 71f90fd28e3f..3d18a8933153 100644
--- a/core/java/android/service/notification/NotificationListenerService.java
+++ b/core/java/android/service/notification/NotificationListenerService.java
@@ -83,11 +83,11 @@ import java.util.Objects;
* &lt;/intent-filter>
* &lt;meta-data
* android:name="android.service.notification.default_filter_types"
- * android:value="conversations,alerting">
+ * android:value="conversations|alerting">
* &lt;/meta-data>
* &lt;meta-data
* android:name="android.service.notification.disabled_filter_types"
- * android:value="ongoing,silent">
+ * android:value="ongoing|silent">
* &lt;/meta-data>
* &lt;/service></pre>
*
@@ -112,8 +112,9 @@ public abstract class NotificationListenerService extends Service {
private final String TAG = getClass().getSimpleName();
/**
- * The name of the {@code meta-data} tag containing a comma separated list of default
- * integer notification types that should be provided to this listener. See
+ * The name of the {@code meta-data} tag containing a pipe separated list of default
+ * integer notification types or "ongoing", "conversations", "alerting", or "silent"
+ * that should be provided to this listener. See
* {@link #FLAG_FILTER_TYPE_ONGOING},
* {@link #FLAG_FILTER_TYPE_CONVERSATIONS}, {@link #FLAG_FILTER_TYPE_ALERTING),
* and {@link #FLAG_FILTER_TYPE_SILENT}.