kbd popup fix

This commit is contained in:
Yuriy Liskov
2020-01-20 15:53:50 +02:00
parent 972a70f285
commit bfa1667e03
2 changed files with 11 additions and 11 deletions

View File

@@ -14,8 +14,8 @@ android {
applicationId "org.liskovsoft.leankeykeyboard.pro"
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
versionCode 95
versionName "4.5.5"
versionCode 96
versionName "5.1.6"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@@ -325,10 +325,10 @@ public class LeanbackImeService extends InputMethodService {
}
// FireTV fix
//@Override
//public boolean onShowInputRequested(int flags, boolean configChange) {
// return true;
//}
@Override
public boolean onShowInputRequested(int flags, boolean configChange) {
return true;
}
@Override
public int onStartCommand(final Intent intent, final int flags, final int startId) {
@@ -360,11 +360,11 @@ public class LeanbackImeService extends InputMethodService {
// FireTV: fix accidental kbd pop-ups
// more info: https://forum.xda-developers.com/fire-tv/general/guide-change-screen-keyboard-to-leankey-t3527675/page2
updateInputViewShown();
if (!mKeyboardController.showInputView()) {
onHideIme();
return;
}
//updateInputViewShown();
//if (!mKeyboardController.showInputView()) {
// onHideIme();
// return;
//}
mKeyboardController.onStartInputView();
sendBroadcast(new Intent(IME_OPEN));