diff options
author | Jeremy Klein <jklein24@gmail.com> | 2015-10-23 09:56:21 -0700 |
---|---|---|
committer | Jeremy Klein <jklein24@gmail.com> | 2015-10-23 09:56:21 -0700 |
commit | 50f9c5c7089e16c161653c84a369a92a28e5502a (patch) | |
tree | 3d8e751055fd26c7379b0f850ab2c771c0c7c3ff /app | |
parent | d41c2661b4451782854a9fac894e7f2406c21a01 (diff) | |
parent | 9a8b735260b33d22361029cfa9205d47a5f2e5c3 (diff) | |
download | connectbot-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.java | 4 |
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 |