Commit Graph
1 Commits
Author SHA1 Message Date
Lucas Fernandes Nogueira 085a02835d fix(fs): return an error when Android returns no file descriptor (#3636)
In plugins/fs/src/android.rs resolve_content_uri, a null `fd` from
getFileDescriptor (openAssetFileDescriptor returning null, e.g. for
virtual files) hit unimplemented!() and panicked inside the command handler.

It now returns an Unsupported I/O error. Also switches the two
io::Error::new(Other, ..) calls to io::Error::other, which clippy flags on
the Android target. Checked with cargo clippy --target aarch64-linux-android.
2026-10-09 13:06:59 -03:00