summaryrefslogtreecommitdiffstats
path: root/core/java/android/service
diff options
context:
space:
mode:
authorChris Wren <cwren@android.com>2014-09-30 13:05:14 -0400
committerChris Wren <cwren@android.com>2014-09-30 13:05:14 -0400
commit0fef44de68c022a35aa34b6f36f8a183c827c684 (patch)
treec413d9e62614f0536b9df7650c0dfb96406b43e1 /core/java/android/service
parente6c4893ed4d4f79df4299dfd0587b641dc1e2e81 (diff)
downloadframeworks_base-0fef44de68c022a35aa34b6f36f8a183c827c684.zip
frameworks_base-0fef44de68c022a35aa34b6f36f8a183c827c684.tar.gz
frameworks_base-0fef44de68c022a35aa34b6f36f8a183c827c684.tar.bz2
Add a returns clause to the matchesInterruptionFilter javadoc.
Bug: 17641219 Change-Id: I4f1949902bf872823389f3db8e694e370e113295
Diffstat (limited to 'core/java/android/service')
-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 35fff74..5d6acd8 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;