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

Commit 7e5fe5f4 authored by Treehugger Robot's avatar Treehugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix inverted flag check" into main

parents c41d7a7d 590f58a2
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -409,12 +409,12 @@ constructor(

            if (counter != null) {
                if (NotificationBundleUi.isEnabled) {
                    val entry = (currentNotification as? ExpandableNotificationRow)?.entry
                    counter.incrementForBucket(entry?.bucket)
                } else {
                    val entryAdapter =
                        (currentNotification as? ExpandableNotificationRow)?.entryAdapter
                    counter.incrementForBucket(entryAdapter?.sectionBucket)
                } else {
                    val entry = (currentNotification as? ExpandableNotificationRow)?.entry
                    counter.incrementForBucket(entry?.bucket)
                }
            }