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

Commit b14aa48d authored by Gus Prevas's avatar Gus Prevas
Browse files

Fixes incorrect priority logic.

This change corrects a logic flip introduced in ag/5439457 which caused
the calculation of which row was the last in the top section of
notifications to be incorrect.

Bug: 116622974
Test: manually
Change-Id: Ia1c051e23ee92d2c3e48bfc4a98fbb24984874c5
parent ab96fe0b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2312,7 +2312,7 @@ public class NotificationStackScrollLayout extends ViewGroup implements ScrollAd
            View child = getChildAt(i);
            if (child.getVisibility() != View.GONE && child instanceof ExpandableNotificationRow) {
                ExpandableNotificationRow row = (ExpandableNotificationRow) child;
                if (mEntryManager.getNotificationData().isHighPriority(
                if (!mEntryManager.getNotificationData().isHighPriority(
                        row.getStatusBarNotification())) {
                    break;
                } else {