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

Commit bd530140 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: 764c0320

Change-Id: I12af224c0ce6f962245627a20f6e5179598944c0
parents 5d877c93 764c0320
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);