Merge "Fix incorrect documentation" into sc-v2-dev am: 64ef6abce8

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/15949163

Change-Id: I72c5b935b609b11c3b1ac3e1051537c9c6ae0876
This commit is contained in:
Julia Reynolds
2021-10-13 20:51:59 +00:00
committed by Automerger Merge Worker

View File

@@ -83,11 +83,11 @@ import java.util.Objects;
* </intent-filter> * </intent-filter>
* <meta-data * <meta-data
* android:name="android.service.notification.default_filter_types" * android:name="android.service.notification.default_filter_types"
* android:value="conversations,alerting"> * android:value="conversations|alerting">
* </meta-data> * </meta-data>
* <meta-data * <meta-data
* android:name="android.service.notification.disabled_filter_types" * android:name="android.service.notification.disabled_filter_types"
* android:value="ongoing,silent"> * android:value="ongoing|silent">
* </meta-data> * </meta-data>
* &lt;/service></pre> * &lt;/service></pre>
* *
@@ -112,8 +112,9 @@ public abstract class NotificationListenerService extends Service {
private final String TAG = getClass().getSimpleName(); private final String TAG = getClass().getSimpleName();
/** /**
* The name of the {@code meta-data} tag containing a comma separated list of default * The name of the {@code meta-data} tag containing a pipe separated list of default
* integer notification types that should be provided to this listener. See * 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_ONGOING},
* {@link #FLAG_FILTER_TYPE_CONVERSATIONS}, {@link #FLAG_FILTER_TYPE_ALERTING), * {@link #FLAG_FILTER_TYPE_CONVERSATIONS}, {@link #FLAG_FILTER_TYPE_ALERTING),
* and {@link #FLAG_FILTER_TYPE_SILENT}. * and {@link #FLAG_FILTER_TYPE_SILENT}.