mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-30 16:28:35 +00:00
Android: Add content provider support to File::FileInfo
This commit is contained in:
parent
99ffee9a0a
commit
a7c05d7e84
7 changed files with 73 additions and 2 deletions
|
@ -104,6 +104,14 @@ bool DeleteAndroidContent(const std::string& uri)
|
|||
IDCache::GetContentHandlerDelete(), ToJString(env, uri));
|
||||
}
|
||||
|
||||
jlong GetAndroidContentSizeAndIsDirectory(const std::string& uri)
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
return env->CallStaticLongMethod(IDCache::GetContentHandlerClass(),
|
||||
IDCache::GetContentHandlerGetSizeAndIsDirectory(),
|
||||
ToJString(env, uri));
|
||||
}
|
||||
|
||||
int GetNetworkIpAddress()
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue