Loading core/java/android/service/notification/NotificationListenerService.java +3 −0 Original line number Diff line number Diff line Loading @@ -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; Loading Loading
core/java/android/service/notification/NotificationListenerService.java +3 −0 Original line number Diff line number Diff line Loading @@ -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; Loading