mirror of
https://gitlab.futo.org/keyboard/latinime.git
synced 2024-09-28 14:54:30 +01:00
Merge "Fix a typo"
This commit is contained in:
commit
470e50493a
@ -391,7 +391,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
|
|
||||||
// Working variables for the following methods.
|
// Working variables for the following methods.
|
||||||
private boolean mIsOrientationChanging;
|
private boolean mIsOrientationChanging;
|
||||||
private boolean mPendingSuccesiveImsCallback;
|
private boolean mPendingSuccessiveImsCallback;
|
||||||
private boolean mHasPendingStartInput;
|
private boolean mHasPendingStartInput;
|
||||||
private boolean mHasPendingFinishInputView;
|
private boolean mHasPendingFinishInputView;
|
||||||
private boolean mHasPendingFinishInput;
|
private boolean mHasPendingFinishInput;
|
||||||
@ -432,7 +432,7 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
if (mIsOrientationChanging && restarting) {
|
if (mIsOrientationChanging && restarting) {
|
||||||
// This is the first onStartInput after orientation changed.
|
// This is the first onStartInput after orientation changed.
|
||||||
mIsOrientationChanging = false;
|
mIsOrientationChanging = false;
|
||||||
mPendingSuccesiveImsCallback = true;
|
mPendingSuccessiveImsCallback = true;
|
||||||
}
|
}
|
||||||
final LatinIME latinIme = getOuterInstance();
|
final LatinIME latinIme = getOuterInstance();
|
||||||
executePendingImsCallback(latinIme, editorInfo, restarting);
|
executePendingImsCallback(latinIme, editorInfo, restarting);
|
||||||
@ -446,9 +446,9 @@ public class LatinIME extends InputMethodServiceCompatWrapper implements Keyboar
|
|||||||
// Typically this is the second onStartInputView after orientation changed.
|
// Typically this is the second onStartInputView after orientation changed.
|
||||||
resetPendingImsCallback();
|
resetPendingImsCallback();
|
||||||
} else {
|
} else {
|
||||||
if (mPendingSuccesiveImsCallback) {
|
if (mPendingSuccessiveImsCallback) {
|
||||||
// This is the first onStartInputView after orientation changed.
|
// This is the first onStartInputView after orientation changed.
|
||||||
mPendingSuccesiveImsCallback = false;
|
mPendingSuccessiveImsCallback = false;
|
||||||
resetPendingImsCallback();
|
resetPendingImsCallback();
|
||||||
sendMessageDelayed(obtainMessage(MSG_PENDING_IMS_CALLBACK),
|
sendMessageDelayed(obtainMessage(MSG_PENDING_IMS_CALLBACK),
|
||||||
PENDING_IMS_CALLBACK_DURATION);
|
PENDING_IMS_CALLBACK_DURATION);
|
||||||
|
Loading…
Reference in New Issue
Block a user