Update the Android editor flavors to avoid vendor-specific references
This commit is contained in:
parent
74de05a01c
commit
741efa632a
10 changed files with 32 additions and 28 deletions
|
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
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue