aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJeremy Klein <jklein24@gmail.com>2015-10-23 09:56:21 -0700
committerJeremy Klein <jklein24@gmail.com>2015-10-23 09:56:21 -0700
commit50f9c5c7089e16c161653c84a369a92a28e5502a (patch)
tree3d8e751055fd26c7379b0f850ab2c771c0c7c3ff /app
parentd41c2661b4451782854a9fac894e7f2406c21a01 (diff)
parent9a8b735260b33d22361029cfa9205d47a5f2e5c3 (diff)
downloadconnectbot-50f9c5c7089e16c161653c84a369a92a28e5502a.tar.gz
connectbot-50f9c5c7089e16c161653c84a369a92a28e5502a.tar.bz2
connectbot-50f9c5c7089e16c161653c84a369a92a28e5502a.zip
Merge pull request #328 from alescdb/senthandler-bug
Restore TerminalBridge.promptHelper.setHandler() in onServiceConnected()
Diffstat (limited to 'app')
-rw-r--r--app/src/main/java/org/connectbot/ConsoleActivity.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/org/connectbot/ConsoleActivity.java b/app/src/main/java/org/connectbot/ConsoleActivity.java
index 0bb7858..9cdb4a5 100644
--- a/app/src/main/java/org/connectbot/ConsoleActivity.java
+++ b/app/src/main/java/org/connectbot/ConsoleActivity.java
@@ -172,6 +172,10 @@ public class ConsoleActivity extends AppCompatActivity implements BridgeDisconne
adapter.notifyDataSetChanged();
final int requestedIndex = bound.getBridges().indexOf(requestedBridge);
+ if (requestedBridge != null)
+ requestedBridge.promptHelper.setHandler(promptHandler);
+
+
if (requestedIndex != -1) {
pager.post(new Runnable() {
@Override