From e607db631d33b15c4ce451782023f8c5f7ef5044 Mon Sep 17 00:00:00 2001 From: satok Date: Tue, 1 Jun 2010 16:13:29 +0900 Subject: Get the log of exceptions. And delete the gradient background. - Add a logger of Exception - Catch RuntimeException where bug reported. - Delete gradient background. Change-Id: I98b5fbc4a51163de7e56bee4f8312585d8e98eb7 --- java/src/com/android/inputmethod/latin/LatinKeyboardView.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardView.java') diff --git a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java index 6e3226ae5..46f04b8a2 100644 --- a/java/src/com/android/inputmethod/latin/LatinKeyboardView.java +++ b/java/src/com/android/inputmethod/latin/LatinKeyboardView.java @@ -472,7 +472,11 @@ public class LatinKeyboardView extends KeyboardView { @Override public void draw(Canvas c) { - super.draw(c); + try { + super.draw(c); + } catch (RuntimeException e) { + LatinImeLogger.logOnException("draw in LatinKeybaordView", e); + } if (DEBUG_AUTO_PLAY) { if (mPlaying) { mHandler2.removeMessages(MSG_TOUCH_DOWN); -- cgit v1.2.3-83-g751a