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

Commit 8db6e5ac authored by Bonian Chen's avatar Bonian Chen
Browse files

[Settings] Fine tune log output and code comments

Adjusted log output and code comments.

Bug: 195090132
Bug: 195091953
Test: local
Change-Id: I37ccd641c313e1ffafa600fffe7ca7eaf287db88
parent 1ed3c39e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -160,7 +160,7 @@ public class SubscriptionAnnotation {

    public String toString() {
        return TAG + "{" + "subId=" + getSubscriptionId()
                + ",type=" + getType()
                + ",type=" + getType() + ",exist=" + isExisted()
                + ",active=" + isActive() + ",displayAllow=" + isDisplayAllowed()
                + "}";
    }
+1 −1
Original line number Diff line number Diff line
@@ -93,7 +93,7 @@ public class SubscriptionGrouping
        annoSelector = annoSelector
                // eSIM in front of pSIM
                .thenComparingInt(anno -> -anno.getType())
                // maintain the ordering within from list given
                // maintain the ordering given within constructor
                .thenComparingInt(anno -> annoList.indexOf(anno));
        return annoList.stream().sorted(annoSelector).findFirst().orElse(null);
    }