From fffaf3cfb3ad2d2106c3d24a5bfcd291f9678fc5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A1s=20Kurucz?= Date: Wed, 15 Mar 2023 18:02:05 +0000 Subject: [PATCH] Update javadoc for Notification#setOngoing Bug: 273543426 Test: NotificationListenerVerifierActivity Test: NotificationDismissVerifierActivity Test: NotificationPrivacyVerifierActivity Change-Id: Idb18fe3a7cdc5182fb0314c1e074f057d5ec1c6b --- core/java/android/app/Notification.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/java/android/app/Notification.java b/core/java/android/app/Notification.java index e78fb179eb6cf..0e89f57c8b548 100644 --- a/core/java/android/app/Notification.java +++ b/core/java/android/app/Notification.java @@ -4634,9 +4634,9 @@ public class Notification implements Parcelable * Set whether this is an "ongoing" notification. * * Ongoing notifications cannot be dismissed by the user on locked devices, or by - * notification listeners, and some notifications (device management, media) cannot be - * dismissed on unlocked devices, so your application or service must take - * care of canceling them. + * notification listeners, and some notifications (call, device management, media) cannot + * be dismissed on unlocked devices, so your application or service must take care of + * canceling them. * * They are typically used to indicate a background task that the user is actively engaged * with (e.g., playing music) or is pending in some way and therefore occupying the device