commit | 448369c9549691650b7b2e976f54815eece9a717 | [log] [tgz] |
---|---|---|
author | Yichi Chen <yichichen@google.com> | Tue Jun 16 16:05:31 2020 +0800 |
committer | Yichi Chen <yichichen@google.com> | Tue Jun 16 17:26:18 2020 +0800 |
tree | bca9baab77b83b8b06b97fd77cd597f4c278f9cb | |
parent | ad15d6c05ad370278d3088e1a577e3f569a340d0 [diff] |
gralloc4-vts: Correct the ownership of fence fd Gralloc::lock takes the ownership of acquireFence and closes the fence by itself. The patch changes the behavior of fence to transfer the ownership by unique_fd::release. Bug: 157534008 Test: VtsHalGraphicsMapperV4_0TargetTest Change-Id: Ie4ee9cd9c3b148cab9187fa07a4e52cbf9ad798a