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

Commit bd8ff5b5 authored by Jeff Hamilton's avatar Jeff Hamilton Committed by Android (Google) Code Review
Browse files

Merge "DO NOT MERGE. Fix asset file descriptor for pipe based fds." into gingerbread

parents 9112b8eb 145fe77d
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
@@ -130,7 +130,11 @@ public class AssetFileDescriptor implements Parcelable {
     * Checks whether this file descriptor is for a memory file.
     */
    private boolean isMemoryFile() throws IOException {
        try {
            return MemoryFile.isMemoryFile(mFd.getFileDescriptor());
        } catch (IOException e) {
            return false;
        }
    }

    /**