Merge "Update javadoc for Notification#setOngoing" into udc-dev

This commit is contained in:
András Kurucz
2023-03-16 08:46:27 +00:00
committed by Android (Google) Code Review

View File

@@ -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