summaryrefslogtreecommitdiff
path: root/libs/androidfw/ZipFileRO.cpp
diff options
context:
space:
mode:
author Hiroki Mine <xp7000010569@JPC00189376.jp.sony.com> 2024-04-11 14:57:47 +0900
committer Hiroki Mine <Hiroki.Mine@sony.com> 2024-04-15 19:23:23 +0900
commitac71396479f9eb113d1da07baa215ae4a57554bc (patch)
treeb57a00494cfb42cbe58c0e3e19646e9d8b6f5a99 /libs/androidfw/ZipFileRO.cpp
parent20f007c38c217ba76959925e21ae612547deb3fa (diff)
Use detachFd for getPlanes in CameraExtensions
Fence of ParcelImage is ParcelFileDescriptor, when call getFd() to get file descriptor of it, the file descriptor still be owned by ParcelFileDescriptor, which cause fatal occurs when close the file descriptor in Gralloc4Mapper. Therefore, use detachFd() to get file descriptor of ParcelImage Fence. When call detachFd() to get file descriptor of ParcelFileDescriptor, the file descriptor will not be owned by ParcelFileDescriptor, so the file descriptor can be closed normally in Gralloc4Mapper. Bug: 334802005 Change-Id: I8388c913f967565d90eca80e6b1b8ccb09ab018e
Diffstat (limited to 'libs/androidfw/ZipFileRO.cpp')
0 files changed, 0 insertions, 0 deletions