cd4adf8b5ef9ac1f90fdddbb405404e173aedc87 |
|
19-Aug-2014 |
Christoph Studer <chstuder@google.com> |
NoMan: Fix inconsistent notification comparator Switch second phase of notification sorting to lexicographic string comparison in order to enforce a consistent comparison. Note that this slightly changes the logic: Within groups we previously fell back on authoritative rank comparison when one of the notificiations didn't have a sort key. Now we just replace missing sort keys with " ". Bug: 16626175 Change-Id: I91f4f4afeeb2c8edda6cd2668011a7367795086c
/frameworks/base/services/core/java/com/android/server/notification/GlobalSortKeyComparator.java
|