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

Commit ef8b61c8 authored by Android Build Coastguard Worker's avatar Android Build Coastguard Worker
Browse files

Snap for 10094917 from f8279354 to udc-qpr1-release

Change-Id: Ifc5363d47cc0fb4bdc15d0d7b31beea944eddf6b
parents eddf2601 f8279354
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -3602,6 +3602,13 @@ public class SubscriptionManagerService extends ISub.Stub {
                return true;
            }

            List<Integer> subIdList = subInfoList.stream().map(SubscriptionInfo::getSubscriptionId)
                    .collect(Collectors.toList());
            if (!subIdList.contains(subscriptionId)) {
                // Return true as this subscription is not available on the device.
                return true;
            }

            // Get list of subscriptions associated with this user.
            List<SubscriptionInfo> associatedSubscriptionsList =
                    getSubscriptionInfoListAssociatedWithUser(userHandle);