diff src/com/five_ten_sg/connectbot/bean/HostBean.java @ 88:1c22e6a7efff

convert ctrl keys to virtual keys; use proper android home directory
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 12:26:51 -0700
parents 4ccfde0bc506
children 6969d6cebcd7
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/bean/HostBean.java	Mon Jun 16 12:02:26 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/bean/HostBean.java	Mon Jun 16 12:26:51 2014 -0700
@@ -74,15 +74,15 @@
     }
 
     public boolean isSSH() {
-        return (protocol == "ssh");
+        return protocol.equals("ssh");
     }
 
     public boolean is5250() {
-        return (protocol == "tn5250");
+        return protocol.equals("tn5250");
     }
 
     public boolean isTelnet() {
-        return (protocol == "telnet");
+        return protocol.equals("telnet");
     }
 
     public boolean isAsync() {