commit | d7663955d0e00ddc7e93e1cc70559857c3fdb2eb | [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 | ab222a29c9d42f587fe6082a1688a69704b8f067 | |
parent | 7e007ff83738a83f43cb59ddc023a2b860367074 [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);