Fix File::GetFileInfo for Content URIs. Can now load homebrew.

This commit is contained in:
Henrik Rydgård 2021-06-05 14:19:37 +02:00
parent 1aed8ce7b1
commit 6078701f9d

View file

@ -42,6 +42,8 @@ bool GetFileInfo(const Path &path, FileInfo * fileInfo) {
switch (path.Type()) {
case PathType::NATIVE:
break; // OK
case PathType::CONTENT_URI:
return Android_GetFileInfo(path.ToString(), fileInfo);
default:
return false;
}