am bf2ccf94: Merge "Fix the PFD detachFd issue." into mnc-dev

* commit 'bf2ccf9455619ac8593319cf5814f2c665656c5e':
  Fix the PFD detachFd issue.
This commit is contained in:
Makoto Onuki
2015-06-11 19:53:43 +00:00
committed by Android Git Automerger

View File

@@ -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;
}
}