am bd8ff5b5: Merge "DO NOT MERGE. Fix asset file descriptor for pipe based fds." into gingerbread
* commit 'bd8ff5b5d4f4c74889ce20a0c7a2f8e0ab7b6ea9': DO NOT MERGE. Fix asset file descriptor for pipe based fds.
This commit is contained in:
@@ -130,7 +130,11 @@ public class AssetFileDescriptor implements Parcelable {
|
||||
* Checks whether this file descriptor is for a memory file.
|
||||
*/
|
||||
private boolean isMemoryFile() throws IOException {
|
||||
return MemoryFile.isMemoryFile(mFd.getFileDescriptor());
|
||||
try {
|
||||
return MemoryFile.isMemoryFile(mFd.getFileDescriptor());
|
||||
} catch (IOException e) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user