aboutsummaryrefslogtreecommitdiffstats
path: root/src/org/connectbot/HostListActivity.java
diff options
context:
space:
mode:
authorKenny Root <kenny@the-b.org>2015-06-09 18:56:58 -0700
committerKenny Root <kenny@the-b.org>2015-06-09 18:56:58 -0700
commit0ae71e15fc03583c23710205470974e69126812b (patch)
tree6f1426cd94284c26d969f7bec57667fcc2c3f304 /src/org/connectbot/HostListActivity.java
parente4c856f1cea29fbbff8780da8a9de61cbf94ee1e (diff)
downloadconnectbot-0ae71e15fc03583c23710205470974e69126812b.tar.gz
connectbot-0ae71e15fc03583c23710205470974e69126812b.tar.bz2
connectbot-0ae71e15fc03583c23710205470974e69126812b.zip
Use explicit Intent when launching from Host List
If there are multiple apps that can handle the "ssh" protocol, it will bring up an activity disambiguation dialog if we don't specify the component explicitly. Fixes #84.
Diffstat (limited to 'src/org/connectbot/HostListActivity.java')
-rw-r--r--src/org/connectbot/HostListActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/connectbot/HostListActivity.java b/src/org/connectbot/HostListActivity.java
index 265dd08..8b3b434 100644
--- a/src/org/connectbot/HostListActivity.java
+++ b/src/org/connectbot/HostListActivity.java
@@ -229,6 +229,7 @@ public class HostListActivity extends ListActivity {
} else {
// otherwise just launch activity to show this host
+ contents.setClass(HostListActivity.this, ConsoleActivity.class);
HostListActivity.this.startActivity(contents);
}
}