diff options
author | 2010-06-01 16:13:29 +0900 | |
---|---|---|
committer | 2010-06-01 17:07:39 +0900 | |
commit | e607db631d33b15c4ce451782023f8c5f7ef5044 (patch) | |
tree | 1d37d986e9d840f02f37c8bbb5fb677ea9d5d329 /java/src/com/android/inputmethod/latin/LatinKeyboardView.java | |
parent | 7c00957e4635a8edd6a5f0525b12acac5e627a07 (diff) | |
download | latinime-e607db631d33b15c4ce451782023f8c5f7ef5044.tar.gz latinime-e607db631d33b15c4ce451782023f8c5f7ef5044.tar.xz latinime-e607db631d33b15c4ce451782023f8c5f7ef5044.zip |
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
Diffstat (limited to 'java/src/com/android/inputmethod/latin/LatinKeyboardView.java')
-rw-r--r-- | java/src/com/android/inputmethod/latin/LatinKeyboardView.java | 6 |
1 files changed, 5 insertions, 1 deletions
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); |