summaryrefslogtreecommitdiffstats
path: root/platform/android/jni_utils.cpp
diff options
context:
space:
mode:
authorTrashguy <trashguy@gmail.com>2024-11-08 17:40:55 -0500
committerTrashguy <trashguy@gmail.com>2024-11-13 09:06:45 -0500
commit621c8c8cb35cb1cc3269d78a77577280f47c1924 (patch)
tree104b72a3fcfa95f2a075546ff1664d94d27b3898 /platform/android/jni_utils.cpp
parentafc82bc08531e6720f2442ad2b5e07d2e9d1dddd (diff)
downloadredot-engine-621c8c8cb35cb1cc3269d78a77577280f47c1924.tar.gz
Rebrand android editor to allow play store signing
Co-authored-by: Spartan322 <Megacake1234@gmail.com>
Diffstat (limited to 'platform/android/jni_utils.cpp')
-rw-r--r--platform/android/jni_utils.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/platform/android/jni_utils.cpp b/platform/android/jni_utils.cpp
index b9413248f7..38f73cf9a7 100644
--- a/platform/android/jni_utils.cpp
+++ b/platform/android/jni_utils.cpp
@@ -102,7 +102,7 @@ jvalret _variant_to_jvalue(JNIEnv *env, Variant::Type p_type, const Variant *p_a
case Variant::DICTIONARY: {
Dictionary dict = *p_arg;
- jclass dclass = env->FindClass("org/godotengine/godot/Dictionary");
+ jclass dclass = env->FindClass("org/redotengine/godot/Dictionary");
jmethodID ctor = env->GetMethodID(dclass, "<init>", "()V");
jobject jdict = env->NewObject(dclass, ctor);
@@ -338,7 +338,7 @@ Variant _jobject_to_variant(JNIEnv *env, jobject obj) {
return varr;
}
- if (name == "java.util.HashMap" || name == "org.godotengine.godot.Dictionary") {
+ if (name == "java.util.HashMap" || name == "org.redotengine.godot.Dictionary") {
Dictionary ret;
jclass oclass = c;
jmethodID get_keys = env->GetMethodID(oclass, "get_keys", "()[Ljava/lang/String;");
@@ -383,7 +383,7 @@ Variant::Type get_jni_type(const String &p_type) {
{ "[F", Variant::PACKED_FLOAT32_ARRAY },
{ "[D", Variant::PACKED_FLOAT64_ARRAY },
{ "[Ljava.lang.String;", Variant::PACKED_STRING_ARRAY },
- { "org.godotengine.godot.Dictionary", Variant::DICTIONARY },
+ { "org.redotengine.godot.Dictionary", Variant::DICTIONARY },
{ nullptr, Variant::NIL }
};
@@ -412,7 +412,7 @@ const char *get_jni_sig(const String &p_type) {
{ "float", "F" },
{ "double", "D" },
{ "java.lang.String", "Ljava/lang/String;" },
- { "org.godotengine.godot.Dictionary", "Lorg/godotengine/godot/Dictionary;" },
+ { "org.redotengine.godot.Dictionary", "Lorg/godotengine/godot/Dictionary;" },
{ "[I", "[I" },
{ "[J", "[J" },
{ "[B", "[B" },