Merge "Clarify the intention of setNotificationsShown" into mnc-dev

This commit is contained in:
Amith Yamasani
2015-06-26 20:34:30 +00:00
committed by Android (Google) Code Review

View File

@@ -369,7 +369,9 @@ public abstract class NotificationListenerService extends Service {
/** /**
* Inform the notification manager that these notifications have been viewed by the * 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. * @param keys Notifications to mark as seen.
*/ */
public final void setNotificationsShown(String[] keys) { public final void setNotificationsShown(String[] keys) {