You've already forked godot
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:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user