mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-04-26 22:38:34 +00:00
Android: Add content provider support to File::Delete
This commit is contained in:
parent
6e1e6d2311
commit
3805b84906
6 changed files with 49 additions and 2 deletions
|
@ -58,3 +58,10 @@ int OpenAndroidContent(const std::string& uri, const std::string& mode)
|
|||
|
||||
return fd;
|
||||
}
|
||||
|
||||
bool DeleteAndroidContent(const std::string& uri)
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
return env->CallStaticBooleanMethod(IDCache::GetContentHandlerClass(),
|
||||
IDCache::GetContentHandlerDelete(), ToJString(env, uri));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue