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

Commit bd1db802 authored by Josh Gao's avatar Josh Gao Committed by android-build-merger
Browse files

Merge "Close PFD.AutoClose{In,Out}putStream before the PFD itself." am: 8fe23dfe am: dcf129f3

am: a355924b

Change-Id: I9db1facad1b464715a1d8d64d9caa1ebd5d3ba43
parents d03d02f5 a355924b
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -881,9 +881,9 @@ public class ParcelFileDescriptor implements Parcelable, Closeable {
        @Override
        public void close() throws IOException {
            try {
                mPfd.close();
            } finally {
                super.close();
            } finally {
                mPfd.close();
            }
        }

@@ -932,9 +932,9 @@ public class ParcelFileDescriptor implements Parcelable, Closeable {
        @Override
        public void close() throws IOException {
            try {
                mPfd.close();
            } finally {
                super.close();
            } finally {
                mPfd.close();
            }
        }
    }