Skip to content

Commit

Permalink
Merge branch 'dev' into strings-squashed
Browse files Browse the repository at this point in the history
  • Loading branch information
alansley committed Jul 29, 2024
2 parents 3b62e47 + dec02ce commit 79cd878
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public static ParcelFileDescriptor getParcelFileDescriptor(MemoryFile file) thro

int fd = field.getInt(fileDescriptor);

return ParcelFileDescriptor.adoptFd(fd);
return ParcelFileDescriptor.fromFd(fd);
} catch (IllegalAccessException e) {
throw new IOException(e);
} catch (InvocationTargetException e) {
Expand Down

0 comments on commit 79cd878

Please sign in to comment.