Fix writing value for hand-tracking V2.0 to AndroidManifest.xml

(cherry picked from commit 0116d50fdd)
This commit is contained in:
Tom Beckmann 2023-01-11 17:26:42 +01:00 committed by Rémi Verschelde
parent 6a0bb1ef9d
commit 3ef78da85a
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -1013,7 +1013,7 @@ void EditorExportPlatformAndroid::_fix_manifest(const Ref<EditorExportPreset> &p
string_table.write[attr_value] = "com.oculus.handtracking.version";
}
if (tname == "meta-data" && attrname == "name" && value == "xr_hand_tracking_version_value") {
if (tname == "meta-data" && attrname == "value" && value == "xr_hand_tracking_version_value") {
string_table.write[attr_value] = "V2.0";
}
}