From 2a37fb9d30848aee42757546e8478cb7a9e45bc6 Mon Sep 17 00:00:00 2001
From: Jean Chalard <jchalard@google.com>
Date: Tue, 10 Jul 2012 18:43:42 +0900
Subject: [PATCH] Refresh the cached single quotes count on commit

Change-Id: I9df5cf95c14da2e11ac709ca5e32dc7db3b02c37
---
 java/src/com/android/inputmethod/latin/WordComposer.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/java/src/com/android/inputmethod/latin/WordComposer.java b/java/src/com/android/inputmethod/latin/WordComposer.java
index bfa41c7848..b55c1a546f 100644
--- a/java/src/com/android/inputmethod/latin/WordComposer.java
+++ b/java/src/com/android/inputmethod/latin/WordComposer.java
@@ -296,6 +296,7 @@ public class WordComposer {
             lastComposedWord.deactivate();
         }
         mTypedWord.setLength(0);
+        mTrailingSingleQuotesCount = 0;
         refreshSize();
         mAutoCorrection = null;
         mIsResumed = false;
-- 
GitLab