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

Merge pull request #49435 from madmiraal/add-android-external-dir

Add OS.get_external_data_dir() to get Android external directory
This commit is contained in:
Rémi Verschelde
2021-06-10 22:11:02 +02:00
committed by GitHub
10 changed files with 64 additions and 17 deletions

View File

@@ -363,6 +363,10 @@ public class GodotIO {
return activity.getFilesDir().getAbsolutePath();
}
public String getExternalDataDir() {
return activity.getExternalFilesDir(null).getAbsolutePath();
}
public String getLocale() {
return Locale.getDefault().toString();
}