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

Commit 04fc7f83 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix that query format in getSubInfoForIccId is wrong." into rvc-dev am:...

Merge "Fix that query format in getSubInfoForIccId is wrong." into rvc-dev am: 764c0320 am: bd530140

Change-Id: Iac99598124e8bbf75941c4cf23f9a8275f83cd07
parents 7ec9ce64 bd530140
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -435,7 +435,8 @@ public class SubscriptionController extends ISub.Stub {
     * @return null if there isn't a match, or subscription info if there is one.
     */
    public SubscriptionInfo getSubInfoForIccId(String iccId) {
        List<SubscriptionInfo> info = getSubInfo(SubscriptionManager.ICC_ID + "=" + iccId, null);
        List<SubscriptionInfo> info = getSubInfo(
                SubscriptionManager.ICC_ID + "=\'" + iccId + "\'", null);
        if (info == null || info.size() == 0) return null;
        // Should be at most one subscription with the iccid.
        return info.get(0);