* commit 'cc0c8a48422e0bb5a1f699fdb12d12691004fe7c': Fix the PFD detachFd issue.
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