mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-13 00:58:29 +02:00
Android: Show a message when adding a folder with no games
To catch people who try to use unsupported formats.
This commit is contained in:
@ -124,9 +124,9 @@ std::string GetAndroidContentDisplayName(const std::string& uri)
|
||||
std::vector<std::string> GetAndroidContentChildNames(const std::string& uri)
|
||||
{
|
||||
JNIEnv* env = IDCache::GetEnvForThread();
|
||||
jobject children =
|
||||
env->CallStaticObjectMethod(IDCache::GetContentHandlerClass(),
|
||||
IDCache::GetContentHandlerGetChildNames(), ToJString(env, uri));
|
||||
jobject children = env->CallStaticObjectMethod(IDCache::GetContentHandlerClass(),
|
||||
IDCache::GetContentHandlerGetChildNames(),
|
||||
ToJString(env, uri), false);
|
||||
return JStringArrayToVector(env, reinterpret_cast<jobjectArray>(children));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user