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) {
return null;
} else {
return getAvailableSubscriptionInfoList().stream()
.filter(subInfo -> !shouldHideSubscription(subInfo))
return availableList.stream().filter(subInfo -> !shouldHideSubscription(subInfo))
.collect(Collectors.toList());
}
}