Avoid unnecessary dup
fileDescriptorToHidlMemory() does not take ownership of the FileDescriptor, so no need to dup it. Test: Manual verification of soundtrigger use-cases Bug: 202424221 Change-Id: I43ab5c25f5b3abdec236c0a78a03a197ad2d0da2 Merged-In: I43ab5c25f5b3abdec236c0a78a03a197ad2d0da2
Loading
Please register or sign in to comment