[Settings] Fine tune log output and code comments
Adjusted log output and code comments. Bug: 195090132 Bug: 195091953 Test: local Change-Id: I37ccd641c313e1ffafa600fffe7ca7eaf287db88
This commit is contained in:
@@ -160,7 +160,7 @@ public class SubscriptionAnnotation {
|
|||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return TAG + "{" + "subId=" + getSubscriptionId()
|
return TAG + "{" + "subId=" + getSubscriptionId()
|
||||||
+ ",type=" + getType()
|
+ ",type=" + getType() + ",exist=" + isExisted()
|
||||||
+ ",active=" + isActive() + ",displayAllow=" + isDisplayAllowed()
|
+ ",active=" + isActive() + ",displayAllow=" + isDisplayAllowed()
|
||||||
+ "}";
|
+ "}";
|
||||||
}
|
}
|
||||||
|
@@ -93,7 +93,7 @@ public class SubscriptionGrouping
|
|||||||
annoSelector = annoSelector
|
annoSelector = annoSelector
|
||||||
// eSIM in front of pSIM
|
// eSIM in front of pSIM
|
||||||
.thenComparingInt(anno -> -anno.getType())
|
.thenComparingInt(anno -> -anno.getType())
|
||||||
// maintain the ordering within from list given
|
// maintain the ordering given within constructor
|
||||||
.thenComparingInt(anno -> annoList.indexOf(anno));
|
.thenComparingInt(anno -> annoList.indexOf(anno));
|
||||||
return annoList.stream().sorted(annoSelector).findFirst().orElse(null);
|
return annoList.stream().sorted(annoSelector).findFirst().orElse(null);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user