commit | 0f1fea45d3871e358b621920593578f88bc7ed57 | [log] [tgz] |
---|---|---|
author | You Kim <you.kim72@gmail.com> | Sun Oct 28 22:13:48 2012 +0900 |
committer | You Kim <you.kim72@gmail.com> | Sun Oct 28 23:57:57 2012 +0900 |
tree | 46d76625397d06e9e569f687d618d93c17ef2dfc | |
parent | 66f04e9ddb21e3a13029a1e6d9b3bb09ff044aa6 [diff] [blame] |
return value of String.replace() is ignored. Change-Id: Id7330e1ffc9f429b22f153d8e644fa7c64354173 Signed-off-by: You Kim <you.kim72@gmail.com>
diff --git a/services/java/com/android/server/NativeDaemonEvent.java b/services/java/com/android/server/NativeDaemonEvent.java index f11ae1d..2095152 100644 --- a/services/java/com/android/server/NativeDaemonEvent.java +++ b/services/java/com/android/server/NativeDaemonEvent.java
@@ -223,8 +223,8 @@ 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);