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