diff options
author | Tony Wickham <twickham@google.com> | 2017-01-26 09:54:48 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-01-26 11:28:43 -0800 |
commit | 2efcdd0c783e6ef9a52a25bec1a2508040760bb6 (patch) | |
tree | 598a5bb08ad35ffe87bc14b46be6912b3a5d6951 /src/com/android/launcher3/notification/NotificationFooterLayout.java | |
parent | 9438ed414fdabadb4cd09da184867b1c44b91095 (diff) | |
download | android_packages_apps_Trebuchet-2efcdd0c783e6ef9a52a25bec1a2508040760bb6.tar.gz android_packages_apps_Trebuchet-2efcdd0c783e6ef9a52a25bec1a2508040760bb6.tar.bz2 android_packages_apps_Trebuchet-2efcdd0c783e6ef9a52a25bec1a2508040760bb6.zip |
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
Diffstat (limited to 'src/com/android/launcher3/notification/NotificationFooterLayout.java')
-rw-r--r-- | src/com/android/launcher3/notification/NotificationFooterLayout.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/com/android/launcher3/notification/NotificationFooterLayout.java b/src/com/android/launcher3/notification/NotificationFooterLayout.java index 2965e4a63..eef1d6194 100644 --- a/src/com/android/launcher3/notification/NotificationFooterLayout.java +++ b/src/com/android/launcher3/notification/NotificationFooterLayout.java @@ -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; } |