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

Commit b30ad6f5 authored by Makoto Onuki's avatar Makoto Onuki
Browse files

Fix the PFD detachFd issue.

Bug 18566244

Change-Id: I410b2219e08c9108236e2c2926bd613315198703
parent 3e634d93
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;
        }
    }