fixes in handling of DirAccess for resource path on Android, fixes #1447
This commit is contained in:
@ -67,7 +67,6 @@ Error FileAccessJAndroid::_open(const String& p_path, int p_mode_flags) {
|
||||
|
||||
jstring js = env->NewStringUTF(path.utf8().get_data());
|
||||
int res = env->CallIntMethod(io,_file_open,js,p_mode_flags&WRITE?true:false);
|
||||
|
||||
env->DeleteLocalRef(js);
|
||||
|
||||
if (res<=0)
|
||||
|
||||
Reference in New Issue
Block a user