aboutsummaryrefslogtreecommitdiffstats
path: root/java/src/com/android/inputmethod/latin
diff options
context:
space:
mode:
authorKen Wakasa <kwakasa@google.com>2013-07-31 04:51:12 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2013-07-31 04:51:12 -0700
commitac4ec539b51c0f0dfb6add09ff3e68593bc9c608 (patch)
treefa788a12b03b573a428f571f225b0d5c077d1b7c /java/src/com/android/inputmethod/latin
parente59fa27d75af760460114efe0f437733ac926759 (diff)
parent883bd364eb7905af94c470540950f055094f0d87 (diff)
downloadlatinime-ac4ec539b51c0f0dfb6add09ff3e68593bc9c608.tar.gz
latinime-ac4ec539b51c0f0dfb6add09ff3e68593bc9c608.tar.xz
latinime-ac4ec539b51c0f0dfb6add09ff3e68593bc9c608.zip
am 883bd364: Merge "Deallocate gesture trail bitmap when unneeded"
* commit '883bd364eb7905af94c470540950f055094f0d87': Deallocate gesture trail bitmap when unneeded
Diffstat (limited to 'java/src/com/android/inputmethod/latin')
-rw-r--r--java/src/com/android/inputmethod/latin/LatinIME.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 093d87dac..614c14308 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -894,6 +894,7 @@ public class LatinIME extends InputMethodService implements KeyboardActionListen
final MainKeyboardView mainKeyboardView = mKeyboardSwitcher.getMainKeyboardView();
if (mainKeyboardView != null) {
mainKeyboardView.cancelAllOngoingEvents();
+ mainKeyboardView.deallocateMemory();
}
// Remove pending messages related to update suggestions
mHandler.cancelUpdateSuggestionStrip();