Skip to content

Commit

Permalink
android: GB act trks - tell when we sent last log
Browse files Browse the repository at this point in the history
  • Loading branch information
thyttan committed Aug 9, 2023
1 parent 0b6b8cd commit 989ded8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/android/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,10 @@
let line = log.readLine();
while (line) {
Bluetooth.println("");
Bluetooth.println(JSON.stringify({t:"actTrk", log:event.id, line:line}));
Bluetooth.println(JSON.stringify({t:"actTrk", log:event.id, line:line, last:"false"}));
line = log.readLine();
if (!line) {
Bluetooth.println(JSON.stringify({t:"actTrk", log:event.id, line:"end of recorder log"}));
Bluetooth.println(JSON.stringify({t:"actTrk", log:event.id, line:"end of recorder log", last:event.last}));
}
}
},
Expand Down

0 comments on commit 989ded8

Please sign in to comment.