commit | db6441221d7ba4ef28bd4633494a6f88ae8c3ca4 | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Fri Jul 26 13:47:11 2019 -0700 |
committer | John Reck <jreck@google.com> | Wed Jul 31 10:28:49 2019 -0700 |
tree | 1e836b34b79c26d8d0eb399f9bdd08fa7926fe6d | |
parent | 2b551ea60337f300709a870c3a7e92b628b8684b [diff] |
GraphicsStatService: fix double close. MemoryFile closes its file descriptor by itself, or would have, if its Cleaner didn't have a reference cycle. Dup its fd instead of acquiring it directly. Bug: http://b/138422309 Test: booted Change-Id: I1930f3ba47f332c075177d1b34df2371b92d1a1c