From b27959741a25b900641a6acbf927625dbc68ddd3 Mon Sep 17 00:00:00 2001
From: "Tadashi G. Takaoka" <takaoka@google.com>
Date: Mon, 6 Aug 2012 16:50:43 +0900
Subject: [PATCH] Fix Utils.getStackTrace()

Change-Id: Iaf160af32bb77b3ad5929cb5ee8eccd01165bdf6
---
 java/src/com/android/inputmethod/latin/Utils.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/java/src/com/android/inputmethod/latin/Utils.java b/java/src/com/android/inputmethod/latin/Utils.java
index 8f71de0e7a..0bf4a8b84f 100644
--- a/java/src/com/android/inputmethod/latin/Utils.java
+++ b/java/src/com/android/inputmethod/latin/Utils.java
@@ -220,7 +220,7 @@ public class Utils {
     }
 
     public static String getStackTrace() {
-        return getStackTrace(Integer.MAX_VALUE);
+        return getStackTrace(Integer.MAX_VALUE - 1);
     }
 
     public static class UsabilityStudyLogUtils {
-- 
GitLab