Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ad7f6b7b authored by Julia Reynolds's avatar Julia Reynolds Committed by Android (Google) Code Review
Browse files

Merge "Update javadoc for setOngoing"

parents 9277321f 76bc1ab8
Loading
Loading
Loading
Loading
+4 −5
Original line number Diff line number Diff line
@@ -4624,16 +4624,15 @@ public class Notification implements Parcelable
        /**
         * Set whether this is an "ongoing" notification.
         *
         * Ongoing notifications cannot be dismissed by the user, so your application or service
         * must take care of canceling them.
         * Ongoing notifications cannot be dismissed by the user on locked devices, or by
         * notification listeners, and some notifications cannnot be dismissed on unlocked 
         * devices (system, device management, media), 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
         * (e.g., a file download, sync operation, active network connection).
         *
         * @see Notification#FLAG_ONGOING_EVENT
         */
        @NonNull