try fix build

Signed-off-by: dignow <linlong1265@gmail.com>
This commit is contained in:
dignow 2023-08-10 01:24:39 +08:00
parent da16a799fa
commit 9476d7fdbb

View File

@ -163,8 +163,8 @@ pub fn call_main_service_pointer_input(kind: String, mask: i32, x: i32, y: i32)
env.call_method(
ctx,
"rustPointerInput",
"(III)V",
&[JValue::String(kind), JValue::Int(mask), JValue::Int(x), JValue::Int(y)],
"(Ljava/lang/String;III)V",
&[JValue::Object(&JObject::from(name)), JValue::Int(mask), JValue::Int(x), JValue::Int(y)],
)?;
return Ok(());
} else {