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

Commit 62174e94 authored by András Kurucz's avatar András Kurucz
Browse files

Remove unused method NotificationEntry#canViewBeDismissed()

We forgot to remove this method while inlining a dismissibility refactor
flag. This is an example for querying view states through the
NotificationEntry, which we'd like to avoid.

Test: build systemui
Flag: EXEMPT refactor
Change-Id: Ib3c95bd925c82361b33806f5c9c22e40388699b6
parent 7acbff03
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -812,11 +812,6 @@ public final class NotificationEntry extends ListEntry {
        return !mSbn.isOngoing() || !isLocked;
    }

    public boolean canViewBeDismissed() {
        if (row == null) return true;
        return row.canViewBeDismissed();
    }

    @VisibleForTesting
    boolean isExemptFromDndVisualSuppression() {
        if (isNotificationBlockedByPolicy(mSbn.getNotification())) {