mirror of
https://github.com/godotengine/godot.git
synced 2025-10-19 16:03:29 +00:00
Document that native file dialog
is only available on Android 10+ devices.
This commit is contained in:
parent
9a3976097f
commit
c82f7feb53
3 changed files with 7 additions and 3 deletions
|
@ -63,6 +63,11 @@ bool DisplayServerAndroid::has_feature(Feature p_feature) const {
|
|||
return (native_menu && native_menu->has_feature(NativeMenu::FEATURE_GLOBAL_MENU));
|
||||
} break;
|
||||
#endif
|
||||
case FEATURE_NATIVE_DIALOG_FILE: {
|
||||
String sdk_version = OS::get_singleton()->get_version().get_slicec('.', 0);
|
||||
return sdk_version.to_int() >= 29;
|
||||
} break;
|
||||
|
||||
case FEATURE_CURSOR_SHAPE:
|
||||
//case FEATURE_CUSTOM_CURSOR_SHAPE:
|
||||
//case FEATURE_HIDPI:
|
||||
|
@ -72,7 +77,6 @@ bool DisplayServerAndroid::has_feature(Feature p_feature) const {
|
|||
//case FEATURE_MOUSE_WARP:
|
||||
case FEATURE_NATIVE_DIALOG:
|
||||
case FEATURE_NATIVE_DIALOG_INPUT:
|
||||
case FEATURE_NATIVE_DIALOG_FILE:
|
||||
//case FEATURE_NATIVE_DIALOG_FILE_EXTRA:
|
||||
case FEATURE_NATIVE_DIALOG_FILE_MIME:
|
||||
//case FEATURE_NATIVE_ICON:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue