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

Commit 16bc4e37 authored by Yuri Lin's avatar Yuri Lin
Browse files

Update documentation for canBypassDnd.

This reflects the addition of the "allow priority channels" setting in the policy that controls whether priority channels are permitted to break through.

Bug: 309846568
Test: N/A, documentation only
Change-Id: I274abbc320d8712e654a7ae7bba063357ae4be9f
parent d0fa4222
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -776,7 +776,8 @@ public final class NotificationChannel implements Parcelable {

    /**
     * Whether or not notifications posted to this channel can bypass the Do Not Disturb
     * {@link NotificationManager#INTERRUPTION_FILTER_PRIORITY} mode.
     * {@link NotificationManager#INTERRUPTION_FILTER_PRIORITY} mode when the active policy allows
     * priority channels to bypass notification filtering.
     */
    public boolean canBypassDnd() {
        return mBypassDnd;