Compare commits

...

1 Commits
4.3.7 ... 4.3.8

Author SHA1 Message Date
Yuriy Liskov
0ed1761b8e FireTV fix (update1) 2018-03-25 18:28:27 +03:00
2 changed files with 12 additions and 10 deletions

View File

@@ -8,8 +8,8 @@ android {
applicationId "org.liskovsoft.leankeykeyboard.pro"
minSdkVersion project.properties.minSdkVersion
targetSdkVersion project.properties.targetSdkVersion
versionCode 57
versionName "4.3.7"
versionCode 58
versionName "4.3.8"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

View File

@@ -270,10 +270,11 @@ public class LeanbackImeService extends InputMethodService {
return isInputViewShown() && mKeyboardController.onKeyUp(keyCode, event) || super.onKeyUp(keyCode, event);
}
@Override
public boolean onShowInputRequested(int flags, boolean configChange) {
return true;
}
// FireTV fix
//@Override
//public boolean onShowInputRequested(int flags, boolean configChange) {
// return true;
//}
@Override
public int onStartCommand(final Intent intent, final int flags, final int startId) {
@@ -305,10 +306,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
//if (!mKeyboardController.showInputView()) {
// onHideIme();
// return;
//}
updateInputViewShown();
if (!mKeyboardController.showInputView()) {
onHideIme();
return;
}
mKeyboardController.onStartInputView();
sendBroadcast(new Intent(IME_OPEN));