mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Fix JNI void vs object method call (flutter/engine#23785)
This commit is contained in:
parent
7b31275216
commit
310d2c210e
@ -1539,9 +1539,8 @@ bool PlatformViewAndroidJNIImpl::RequestDartDeferredLibrary(
|
||||
return true;
|
||||
}
|
||||
|
||||
env->CallObjectMethod(java_object.obj(),
|
||||
g_request_dart_deferred_library_method,
|
||||
loading_unit_id);
|
||||
env->CallVoidMethod(java_object.obj(), g_request_dart_deferred_library_method,
|
||||
loading_unit_id);
|
||||
|
||||
FML_CHECK(CheckException(env));
|
||||
return true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user