Merge "Remove mistake of calling iSub twice in getSelectableSubscriptionInfoList"

am: b4a450a13c

Change-Id: I3cedb75df101d49da95158455377c876ac2a9369
This commit is contained in:
Xiangyu/Malcolm Chen
2019-01-21 15:03:38 -08:00
committed by android-build-merger

View File

@@ -2733,8 +2733,7 @@ public class SubscriptionManager {
if (availableList == null) { if (availableList == null) {
return null; return null;
} else { } else {
return getAvailableSubscriptionInfoList().stream() return availableList.stream().filter(subInfo -> !shouldHideSubscription(subInfo))
.filter(subInfo -> !shouldHideSubscription(subInfo))
.collect(Collectors.toList()); .collect(Collectors.toList());
} }
} }