diff options
| -rw-r--r-- | core/java/android/util/Log.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/java/android/util/Log.java b/core/java/android/util/Log.java index d577b74d5d2b..38903abef661 100644 --- a/core/java/android/util/Log.java +++ b/core/java/android/util/Log.java @@ -273,7 +273,7 @@ public final class Log { */ public static int wtf(String tag, String msg, Throwable tr) { TerribleFailure what = new TerribleFailure(msg, tr); - int bytes = println_native(LOG_ID_MAIN, ASSERT, tag, getStackTraceString(tr)); + int bytes = println_native(LOG_ID_MAIN, ASSERT, tag, msg + '\n' + getStackTraceString(tr)); sWtfHandler.onTerribleFailure(tag, what); return bytes; } |