mirror of
https://github.com/yuliskov/LeanKeyboard.git
synced 2026-01-23 05:09:16 -05:00
bump to 4.5.5
This commit is contained in:
@@ -14,8 +14,8 @@ android {
|
||||
applicationId "org.liskovsoft.leankeykeyboard.pro"
|
||||
minSdkVersion project.properties.minSdkVersion
|
||||
targetSdkVersion project.properties.targetSdkVersion
|
||||
versionCode 94
|
||||
versionName "4.4.4"
|
||||
versionCode 95
|
||||
versionName "4.5.5"
|
||||
|
||||
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"
|
||||
|
||||
|
||||
@@ -128,8 +128,8 @@ public class LeanbackKeyboardContainer {
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
LeanbackKeyboardContainer.this.mSelector.setVisibility(View.INVISIBLE);
|
||||
LeanbackKeyboardContainer.this.startRecognition(LeanbackKeyboardContainer.this.mContext);
|
||||
mSelector.setVisibility(View.INVISIBLE);
|
||||
startRecognition(mContext);
|
||||
}
|
||||
};
|
||||
private AnimatorListener mVoiceExitListener = new AnimatorListener() {
|
||||
@@ -139,7 +139,7 @@ public class LeanbackKeyboardContainer {
|
||||
|
||||
@Override
|
||||
public void onAnimationEnd(Animator animation) {
|
||||
LeanbackKeyboardContainer.this.mSelector.setVisibility(View.VISIBLE);
|
||||
mSelector.setVisibility(View.VISIBLE);
|
||||
}
|
||||
|
||||
@Override
|
||||
@@ -148,10 +148,10 @@ public class LeanbackKeyboardContainer {
|
||||
|
||||
@Override
|
||||
public void onAnimationStart(Animator animation) {
|
||||
LeanbackKeyboardContainer.this.mVoiceButtonView.showNotListening();
|
||||
LeanbackKeyboardContainer.this.mSpeechRecognizer.cancel();
|
||||
LeanbackKeyboardContainer.this.mSpeechRecognizer.setRecognitionListener((RecognitionListener) null);
|
||||
LeanbackKeyboardContainer.this.mVoiceOn = false;
|
||||
mVoiceButtonView.showNotListening();
|
||||
mSpeechRecognizer.cancel();
|
||||
mSpeechRecognizer.setRecognitionListener((RecognitionListener) null);
|
||||
mVoiceOn = false;
|
||||
}
|
||||
};
|
||||
private boolean mVoiceKeyDismissesEnabled;
|
||||
|
||||
@@ -72,6 +72,8 @@ public class LeanbackImeService extends InputMethodService {
|
||||
|
||||
LangUpdater langUpdater = new LangUpdater(this);
|
||||
langUpdater.update();
|
||||
|
||||
updateInputViewShown();
|
||||
}
|
||||
|
||||
private void clearSuggestionsDelayed() {
|
||||
@@ -259,7 +261,8 @@ public class LeanbackImeService extends InputMethodService {
|
||||
@SuppressLint("MissingSuperCall")
|
||||
@Override
|
||||
public boolean onEvaluateInputViewShown() {
|
||||
return mKeyboardController.showInputView();
|
||||
//return mKeyboardController.showInputView();
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user