Mercurial > 510ConnectbotMonitor
changeset 24:4f1cc4f44c41
add mechanism to allow getfield from other threads
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Fri, 01 May 2015 12:00:38 -0700 |
parents | 2586a4f5c8c3 |
children | 3975d341e3dd |
files | src/com/five_ten_sg/connectbot/monitor/MonitorService.java |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/monitor/MonitorService.java Fri May 01 11:52:31 2015 -0700 +++ b/src/com/five_ten_sg/connectbot/monitor/MonitorService.java Fri May 01 12:00:38 2015 -0700 @@ -380,7 +380,7 @@ abandonGetField(connection); buf = new char[plen-3]; System.arraycopy(packet, 3, buf, 0, plen-3); - teActivate(connection, packet[1], packet[2], buf); + teActivate(connection, initString, packet[1], packet[2], buf); break; case MONITOR_CMD_KEYSTATE: teKeyState(connection, (packet[1] == 1)); @@ -451,7 +451,7 @@ setCurrentConnection(-1); } - public void teActivate(int connection, int lines, int columns, char[] buf) { + public void teActivate(int connection, String fn, int lines, int columns, char[] buf) { Log.i(TAG, String.format("teActivate %d", connection)); printer(String.format("activate %d lines %d columns %d b.len %d", connection, lines, columns, buf.length)); boolean sameinit = false;