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

Commit b3f3caef authored by Irfan Sheriff's avatar Irfan Sheriff Committed by Android (Google) Code Review
Browse files

Merge "Fix null pointer exception" into froyo

parents 4273ce19 7baec0fe
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -504,6 +504,9 @@ class NetworkManagementService extends INetworkManagementService.Stub {
    }

    private String convertQuotedString(String s) {
        if (s == null) {
            return s;
        }
        /* Replace \ with \\, then " with \" and add quotes at end */
        return '"' + s.replaceAll("\\\\","\\\\\\\\").replaceAll("\"","\\\\\"") + '"';
    }