Merge commit '8316e875baee53b661d5af8fa843d97e51acbcf6' into kraken * commit '8316e875baee53b661d5af8fa843d97e51acbcf6': Fix null pointer exception
This commit is contained in:
@@ -504,8 +504,11 @@ class NetworkManagementService extends INetworkManagementService.Stub {
|
||||
}
|
||||
|
||||
private String convertQuotedString(String s) {
|
||||
/* Replace \ with \\, then " with \" and add quotes at end */
|
||||
return '"' + s.replaceAll("\\\\","\\\\\\\\").replaceAll("\"","\\\\\"") + '"';
|
||||
if (s == null) {
|
||||
return s;
|
||||
}
|
||||
/* Replace \ with \\, then " with \" and add quotes at end */
|
||||
return '"' + s.replaceAll("\\\\","\\\\\\\\").replaceAll("\"","\\\\\"") + '"';
|
||||
}
|
||||
|
||||
public void stopAccessPoint() throws IllegalStateException {
|
||||
|
||||
Reference in New Issue
Block a user