commit | d53c6df0985321a17334a9cb202487a2892fafcb | [log] [tgz] |
---|---|---|
author | Erwin Jansen <jansene@google.com> | Wed Nov 27 12:58:58 2019 -0800 |
committer | Erwin Jansen <jansene@google.com> | Mon Dec 02 18:56:27 2019 +0000 |
tree | b2090153dbdacf21a298bab97e368ed9df77c0cd | |
parent | 5603bc4c9eb0c2005c630bb615f355d1bfe65652 [diff] |
Dup the correct fd for qemu pipe. Logcat dup-es STDOUT and used the dup-ed file descriptor to write logging information. Because of this writes happen on that fd and not on stdout. This in turn causes no output in the LogcatService in the emulator. The qemu-pipe forwarder now dup-es the same fd as logcat is using so that we receive data again. Bug: b/145214141 Test: Logcat works again in emulator 29.2.10 Change-Id: Ia6e2430f1d7a0476a5b438d315a9ea337c13806d