diff options
-rw-r--r-- | AndroidManifest.xml | 2 | ||||
-rw-r--r-- | src/org/connectbot/service/TerminalBridge.java | 7 |
2 files changed, 6 insertions, 3 deletions
diff --git a/AndroidManifest.xml b/AndroidManifest.xml index f1e353e..f6dd0f2 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -2,7 +2,7 @@ <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="org.connectbot" android:versionName="1.6-dev" - android:versionCode="189"> + android:versionCode="190"> <application android:icon="@drawable/icon" diff --git a/src/org/connectbot/service/TerminalBridge.java b/src/org/connectbot/service/TerminalBridge.java index 1d69989..1880d26 100644 --- a/src/org/connectbot/service/TerminalBridge.java +++ b/src/org/connectbot/service/TerminalBridge.java @@ -492,8 +492,11 @@ public class TerminalBridge implements VDUDisplay, OnKeyListener { Configuration.HARDKEYBOARDHIDDEN_YES; // Ignore all key-up events except for the special keys - if (event.getAction() == KeyEvent.ACTION_UP && - hardKeyboard && !hardKeyboardHidden) { + if (event.getAction() == KeyEvent.ACTION_UP) { + // There's nothing here for virtual keyboard users. + if (!hardKeyboard || (hardKeyboard && hardKeyboardHidden)) + return false; + // skip keys if we aren't connected yet or have been disconnected if (disconnected || transport == null) return false; |