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

Commit 145fe77d authored by Jeff Hamilton's avatar Jeff Hamilton
Browse files

DO NOT MERGE. Fix asset file descriptor for pipe based fds.

Change-Id: Ic366d01f91017109abfcfa65bd2231dd7416ce71
parent 7d452f69
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;
        }
    }

    /**