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

Commit bbf8daf4 authored by Dianne Hackborn's avatar Dianne Hackborn Committed by Android Git Automerger
Browse files

am 505232be: Merge "Fix of Settings application sort crash"

# By Jia Arlan
# Via Gerrit Code Review (1) and Henrik Baard (1)
* commit '505232be':
  Fix of Settings application sort crash
parents 61b0f8c8 505232be
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ class BatterySipper implements Comparable<BatterySipper> {

    public int compareTo(BatterySipper other) {
        // Return the flipped value because we want the items in descending order
        return (int) (other.getSortValue() - getSortValue());
        return Double.compare(other.getSortValue(), getSortValue());
    }

    void getQuickNameIconForUid(Uid uidObj) {