From 5fd11a7f3367d51cea8dc83fb9675c93d82a2e4e Mon Sep 17 00:00:00 2001
From: Jean Chalard <jchalard@google.com>
Date: Tue, 24 Jan 2012 11:58:07 +0900
Subject: [PATCH] Fix a typo

Change-Id: I358350c959d5610214a752b14d7744fe83eb3821
---
 java/src/com/android/inputmethod/latin/LatinIME.java | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/java/src/com/android/inputmethod/latin/LatinIME.java b/java/src/com/android/inputmethod/latin/LatinIME.java
index 94c47bdc94..a053b9bbba 100644
--- a/java/src/com/android/inputmethod/latin/LatinIME.java
+++ b/java/src/com/android/inputmethod/latin/LatinIME.java
@@ -391,7 +391,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
 
         // Working variables for the following methods.
         private boolean mIsOrientationChanging;
-        private boolean mPendingSuccesiveImsCallback;
+        private boolean mPendingSuccessiveImsCallback;
         private boolean mHasPendingStartInput;
         private boolean mHasPendingFinishInputView;
         private boolean mHasPendingFinishInput;
@@ -432,7 +432,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                 if (mIsOrientationChanging && restarting) {
                     // This is the first onStartInput after orientation changed.
                     mIsOrientationChanging = false;
-                    mPendingSuccesiveImsCallback = true;
+                    mPendingSuccessiveImsCallback = true;
                 }
                 final LatinIME latinIme = getOuterInstance();
                 executePendingImsCallback(latinIme, editorInfo, restarting);
@@ -446,9 +446,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
                 // Typically this is the second onStartInputView after orientation changed.
                 resetPendingImsCallback();
             } else {
-                if (mPendingSuccesiveImsCallback) {
+                if (mPendingSuccessiveImsCallback) {
                     // This is the first onStartInputView after orientation changed.
-                    mPendingSuccesiveImsCallback = false;
+                    mPendingSuccessiveImsCallback = false;
                     resetPendingImsCallback();
                     sendMessageDelayed(obtainMessage(MSG_PENDING_IMS_CALLBACK),
                             PENDING_IMS_CALLBACK_DURATION);
-- 
GitLab