From 1375da7d5a42e3942b71393720670db10e249126 Mon Sep 17 00:00:00 2001 From: irish Date: Tue, 28 Sep 2010 22:51:03 +0100 Subject: Adds PICK activity to manifest PICK Intents for ssh/telnet/local will return a shortcut --- AndroidManifest.xml | 7 +++++++ src/org/connectbot/HostListActivity.java | 3 ++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/AndroidManifest.xml b/AndroidManifest.xml index a0b99e8..180674f 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -22,6 +22,13 @@ + + + + + + + diff --git a/src/org/connectbot/HostListActivity.java b/src/org/connectbot/HostListActivity.java index f65c069..3b02530 100644 --- a/src/org/connectbot/HostListActivity.java +++ b/src/org/connectbot/HostListActivity.java @@ -178,7 +178,8 @@ public class HostListActivity extends ListActivity { // start thread to check for new version new UpdateHelper(this); - this.makingShortcut = Intent.ACTION_CREATE_SHORTCUT.equals(getIntent().getAction()); + this.makingShortcut = Intent.ACTION_CREATE_SHORTCUT.equals(getIntent().getAction()) + || Intent.ACTION_PICK.equals(getIntent().getAction()); // connect with hosts database and populate list this.hostdb = new HostDatabase(this); -- cgit v1.2.3