summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Chris Wren <cwren@android.com> 2014-09-30 18:51:27 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2014-09-30 18:51:28 +0000
commitc3328cacdad67623f94b13fceb734d958461a475 (patch)
tree90d28dd1f520477bb565d963a509ba5288282214
parentaf098c5657942d645ec7362cc439718457abec64 (diff)
parent0fef44de68c022a35aa34b6f36f8a183c827c684 (diff)
Merge "Add a returns clause to the matchesInterruptionFilter javadoc." into lmp-dev
-rw-r--r--core/java/android/service/notification/NotificationListenerService.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/java/android/service/notification/NotificationListenerService.java b/core/java/android/service/notification/NotificationListenerService.java
index 35fff7407a21..5d6acd824471 100644
--- a/core/java/android/service/notification/NotificationListenerService.java
+++ b/core/java/android/service/notification/NotificationListenerService.java
@@ -760,6 +760,9 @@ public abstract class NotificationListenerService extends Service {
/**
* Returns whether the notification matches the user's interruption
* filter.
+ *
+ * @return {@code true} if the notification is allowed by the filter, or
+ * {@code false} if it is blocked.
*/
public boolean matchesInterruptionFilter() {
return mMatchesInterruptionFilter;