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

Commit edea8235 authored by Automerger Merge Worker's avatar Automerger Merge Worker
Browse files

Merge "Fix that query format in getSubInfoForIccId is wrong." am: a559fb77

Change-Id: I89c10d21bd2a9315b95aa14eec7511181ad582d1
parents 9824c919 a559fb77
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -414,7 +414,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);