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

Commit 7dc1eeec authored by Weijie Wang's avatar Weijie Wang Committed by Bruno Martins
Browse files

SystemUI: Sort subscriptions in reversed order

The order of SPN(carrier name) and signal bar are inconsistent.
It is confused for user.

Old order: Sim1SPNName-Sim2SPNName   Sim2SignaBar Sim1SignalBar
New order: Sim1SPNName-Sim2SPNName   Sim1SignaBar Sim2SignalBar

Change-Id: Ibd2a847016a2b4c2629c3f2b2655f447df37c9e7
CRs-Fixed: 2288839
parent 593900c4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -572,7 +572,7 @@ public class NetworkControllerImpl extends BroadcastReceiver
            public int compare(SubscriptionInfo lhs, SubscriptionInfo rhs) {
                return lhs.getSimSlotIndex() == rhs.getSimSlotIndex()
                        ? lhs.getSubscriptionId() - rhs.getSubscriptionId()
                        : lhs.getSimSlotIndex() - rhs.getSimSlotIndex();
                        : rhs.getSimSlotIndex() - lhs.getSimSlotIndex();
            }
        });
        mCurrentSubscriptions = subscriptions;