Fix typo in jni registration (flutter/engine#30282)

This commit is contained in:
Marcel Kirchhoff
2021-12-13 03:14:09 +01:00
committed by GitHub
parent ceb1775174
commit f27c7836eb

View File

@@ -1013,7 +1013,7 @@ bool PlatformViewAndroid::Register(JNIEnv* env) {
g_mutators_stack_push_cliprrect_method = env->GetMethodID(
g_mutators_stack_class->obj(), "pushClipRRect", "(IIII[F)V");
if (g_mutators_stack_push_cliprect_method == nullptr) {
if (g_mutators_stack_push_cliprrect_method == nullptr) {
FML_LOG(ERROR)
<< "Could not locate FlutterMutatorsStack.pushClipRRect method";
return false;