am bf2ccf94: Merge "Fix the PFD detachFd issue." into mnc-dev
* commit 'bf2ccf9455619ac8593319cf5814f2c665656c5e': Fix the PFD detachFd issue.
This commit is contained in:
@@ -621,6 +621,9 @@ public class ParcelFileDescriptor implements Parcelable, Closeable {
|
||||
final int fd = getFd();
|
||||
Parcel.clearFileDescriptor(mFd);
|
||||
writeCommStatusAndClose(Status.DETACHED, null);
|
||||
mClosed = true;
|
||||
mGuard.close();
|
||||
releaseResources();
|
||||
return fd;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user