changeset 55:17fd0e489165 tn5250

start tn5250 integration
author Carl Byington <carl@five-ten-sg.com>
date Wed, 11 Jun 2014 14:04:07 -0700
parents a7e660661e08
children 556c387889b9
files src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java
diffstat 1 files changed, 0 insertions(+), 12 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Wed Jun 11 14:01:43 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalKeyListener.java	Wed Jun 11 14:04:07 2014 -0700
@@ -581,22 +581,10 @@
                     return true;
             }
         }
-        catch (IOException e) {
-            Log.e(TAG, "Problem while trying to handle an onKey() event", e);
-
-            try {
-                bridge.transport.flush();
-            }
-            catch (IOException ioe) {
-                Log.d(TAG, "Our transport was closed, dispatching disconnect event");
-                bridge.dispatchDisconnect(false);
-            }
-        }
         catch (NullPointerException npe) {
             Log.d(TAG, "Input before connection established ignored.");
             return true;
         }
-
         return false;
     }