Remove only one Lambda Exp for JAVA 7 am: 0c7ab8c20a am: 5db150a742 am: 619f7547d3
Original change: https://android-review.googlesource.com/c/platform/packages/apps/Messaging/+/1343464 Change-Id: I5433d17c76decd475b357d0ebefc83b53dc29098
This commit is contained in:
@@ -252,8 +252,10 @@ public class DataModelImpl extends DataModel {
|
|||||||
if (subId <= ParticipantData.DEFAULT_SELF_SUB_ID) {
|
if (subId <= ParticipantData.DEFAULT_SELF_SUB_ID) {
|
||||||
subId = PhoneUtils.getDefault().getDefaultSmsSubscriptionId();
|
subId = PhoneUtils.getDefault().getDefaultSmsSubscriptionId();
|
||||||
}
|
}
|
||||||
sConnectivityUtilInstanceCacheN.computeIfAbsent(
|
if (!sConnectivityUtilInstanceCacheN.containsKey(subId)) {
|
||||||
subId, key -> new ConnectivityUtil(mContext, key));
|
sConnectivityUtilInstanceCacheN.put(
|
||||||
|
subId, new ConnectivityUtil(mContext, subId));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user