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

Commit 19a02b0f authored by Chris Wren's avatar Chris Wren
Browse files

that works, but can you find a more efficient solution?

Change-Id: I19f8ff61973d8db5614f9a699b28df7038e44711
parent 160aa406
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2697,8 +2697,8 @@ public class NotificationManagerService extends SystemService {
                visibilities[i] = r.getPackageVisibilityOverride();
                mRankingHelper.extractSignals(r);
            }
            for (int i = 0; i < N; i++) {
            mRankingHelper.sort(mNotificationList);
            for (int i = 0; i < N; i++) {
                final NotificationRecord r = mNotificationList.get(i);
                if (!orderBefore.get(i).equals(r.getKey())
                        || visibilities[i] != r.getPackageVisibilityOverride()) {