Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bf2ccf94 authored by Makoto Onuki's avatar Makoto Onuki Committed by Android (Google) Code Review
Browse files

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

parents cd17a84a b30ad6f5
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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;
        }
    }