bump to 4.5.5

This commit is contained in:
Yuriy Liskov
2020-01-20 01:40:50 +02:00
parent ce710fbb4d
commit cc45c099d8
3 changed files with 13 additions and 10 deletions

View File

@@ -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"

View File

@@ -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;

View File

@@ -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