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

Commit a355924b 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

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

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