return value of String.replace() is ignored.

Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173
Signed-off-by: You Kim <you.kim72@gmail.com>
This commit is contained in:
You Kim
2012-10-28 22:13:48 +09:00
parent 66f04e9ddb
commit 0f1fea45d3

View File

@@ -223,8 +223,8 @@ public class NativeDaemonEvent {
current++; // skip the trailing quote
}
// unescape stuff within the word
word.replace("\\\\", "\\");
word.replace("\\\"", "\"");
word = word.replace("\\\\", "\\");
word = word.replace("\\\"", "\"");
if (DEBUG_ROUTINE) Slog.e(LOGTAG, "found '" + word + "'");
parsed.add(word);