mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-03 09:26:51 +00:00
Store notification keys in a List instead of a Set.
This will preserve the order when iterating over the notifications to populate the popup container. Bug: 34735689 Change-Id: Ic390ffef140e454566ffc6ab1763950349df25ce
This commit is contained in:
@@ -40,7 +40,6 @@ import java.util.HashMap;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
|
||||
/**
|
||||
* A {@link LinearLayout} that contains icons of notifications. If there is only one icon,
|
||||
@@ -191,7 +190,7 @@ public class NotificationFooterLayout extends LinearLayout {
|
||||
animation.start();
|
||||
}
|
||||
|
||||
public void trimNotifications(Set<String> notifications) {
|
||||
public void trimNotifications(List<String> notifications) {
|
||||
if (!isAttachedToWindow() || mIconRow.getChildCount() == 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user