mirror of
https://github.com/godotengine/godot.git
synced 2025-10-23 01:43:36 +00:00
Revert "Enable the ability to use Godot as a subview within an Android app"
This reverts commit 920639511d
.
The changes are good, this revert is only done for release management reasons
as we want this feature to get more testing before making it in a stable build,
but a 3.2.3 release is imminent to handle some regressions in 3.2.2.
This will be re-committed in a 3.2-based feature branch, and we'll merge it
again once we're confident about it (probably for 3.2.4).
This commit is contained in:
parent
5854bf4696
commit
0246a1a276
16 changed files with 226 additions and 340 deletions
|
@ -1244,7 +1244,7 @@ JavaClassWrapper::JavaClassWrapper(jobject p_activity) {
|
|||
|
||||
JNIEnv *env = ThreadAndroid::get_env();
|
||||
|
||||
jclass activityClass = env->FindClass("android/app/Activity");
|
||||
jclass activityClass = env->FindClass("org/godotengine/godot/Godot");
|
||||
jmethodID getClassLoader = env->GetMethodID(activityClass, "getClassLoader", "()Ljava/lang/ClassLoader;");
|
||||
classLoader = env->CallObjectMethod(p_activity, getClassLoader);
|
||||
classLoader = (jclass)env->NewGlobalRef(classLoader);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue