diff --git a/rust/android/jni/nick_name.rs b/rust/android/jni/nick_name.rs index d8eb406..8af730e 100644 --- a/rust/android/jni/nick_name.rs +++ b/rust/android/jni/nick_name.rs @@ -320,7 +320,7 @@ impl NickName { "(Ljava/lang/String;Ljava/lang/String;)I", &[ JValue::Object(&permission_str.into()), - JValue::Object(&package_str.into()), + JValue::Object(&package_str), ], ) // .expect("Failed to call checkSelfPermission method")