1
0
mirror of https://github.com/godotengine/godot.git synced 2025-11-05 12:10:55 +00:00

Restore FileAccess.close method.

This commit is contained in:
bruvzg
2023-02-16 15:25:32 +02:00
parent 953383328a
commit bc95b0b171
22 changed files with 76 additions and 1 deletions

View File

@@ -333,6 +333,12 @@ void FileAccessFilesystemJAndroid::setup(jobject p_file_access_handler) {
_file_last_modified = env->GetMethodID(cls, "fileLastModified", "(Ljava/lang/String;)J");
}
void FileAccessFilesystemJAndroid::close() {
if (is_open()) {
_close();
}
}
FileAccessFilesystemJAndroid::FileAccessFilesystemJAndroid() {
id = 0;
}