Use ParcelFileDescriptor over FileDescriptor
The java.io.FileDescriptor object has a poor definition of ownership, which can result in obscure use-after-close bugs. Instead, APIs should return or accept ParcelFileDescriptor instances. Bug: 130209137 Test: manual Change-Id: Ifb3dd53dc138ec47f416f2d4b46c4668bc8ee1d8
Loading
Please register or sign in to comment