commit | e3dab2d906ee45954e58826b11cce9219c005cc5 | [log] [tgz] |
---|---|---|
author | Yi Jin <jinyithu@google.com> | Thu Mar 22 16:56:39 2018 -0700 |
committer | Yi Jin <jinyithu@google.com> | Wed Mar 28 12:44:36 2018 -0700 |
tree | 5498ede2ec95787f958469b6ed1bc8b809caa047 | |
parent | ab34199e9c1da603788893537107552ef6245712 [diff] |
Use unique_fd with the clear ownership. FdBuffer won't take ownership of the `main` fd. It only enforces transfer ownership in readProcessedDataInStream. Bug: 74021345 Test: atest incidentd_test Change-Id: I6182730241c81c34b3be865b827a2d3e8c10c21c