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

Commit 612e8faa authored by Rakesh Pallerla's avatar Rakesh Pallerla Committed by Gerrit - the friendly Code Review server
Browse files

Fix issue with deletion of contacts with "=".

Fix issue for deletion of contacts with "=" in name,
as it would return 3 strings instead of 2 as expected.

Use overloaded split method to return 2 strings instead
to resolve the issue.

Change-Id: Ia233ed535199c64dc2252aba8470e59aeb5694f7
CRs-Fixed: 753103
parent f139d627
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -316,7 +316,7 @@ public class IccProvider extends ContentProvider {
            String param = tokens[n];
            if (DBG) log("parsing '" + param + "'");

            String[] pair = param.split("=");
            String[] pair = param.split("=", 2);

            if (pair.length != 2) {
                Rlog.e(TAG, "resolve: bad whereClause parameter: " + param);