You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-08 12:40:44 +00:00
Update the Android editor flavors to avoid vendor-specific references
This commit is contained in:
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
@@ -36,7 +36,7 @@ import org.godotengine.godot.utils.isNativeXRDevice
|
||||
/**
|
||||
* Primary window of the Godot Editor.
|
||||
*
|
||||
* This is the implementation of the editor used when running on Meta devices.
|
||||
* This is the implementation of the editor used when running on HorizonOS devices.
|
||||
*/
|
||||
open class GodotEditor : BaseGodotEditor() {
|
||||
|
||||
@@ -517,6 +517,10 @@ abstract class BaseGodotEditor : GodotActivity() {
|
||||
return isNativeXRDevice();
|
||||
}
|
||||
|
||||
if (featureTag == "horizonos") {
|
||||
return isHorizonOSDevice()
|
||||
}
|
||||
|
||||
return false
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user