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

Commit c6ecbce4 authored by Amith Yamasani's avatar Amith Yamasani
Browse files

Clarify the intention of setNotificationsShown

Updated javadoc with a bit more detail.

Bug: 21572672
Change-Id: I6b24e47fecd5142bb4bac979cb91f7a6359990d5
parent dd7705bb
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -369,7 +369,9 @@ public abstract class NotificationListenerService extends Service {

    /**
     * Inform the notification manager that these notifications have been viewed by the
     * user.
     * user. This should only be called when there is sufficient confidence that the user is
     * looking at the notifications, such as when the notifications appear on the screen due to
     * an explicit user interaction.
     * @param keys Notifications to mark as seen.
     */
    public final void setNotificationsShown(String[] keys) {