Disabled AmarinoService logging; reenabled telemetry
Benjamin Bardin
11 years ago
335 | 335 | ConnectedThread ct = connections.get(address); |
336 | 336 | if (ct != null) { |
337 | 337 | ct.write(data); |
338 | try { | |
338 | /*try { | |
339 | 339 | if (logfile != null) |
340 | 340 | logfile.write(Long.toString(System.currentTimeMillis()) + " " + new String(data) + "\n"); |
341 | 341 | } |
342 | 342 | catch (IOException e) { |
343 | 343 | Log.e(TAG, "Cannot write to logfile."); |
344 | 344 | e.printStackTrace(); |
345 | } | |
345 | }*/ | |
346 | 346 | } |
347 | 347 | } |
348 | 348 |