mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Android: Add content provider support to File::FileInfo
This commit is contained in:
@ -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();
|
||||
|
Reference in New Issue
Block a user