Skip to content

Commit

Permalink
Fix JNI Typo for UnpairDeviceCallback.OnError (#31300)
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored and pull[bot] committed Feb 7, 2024
1 parent ffae8f5 commit 3108233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/controller/java/AndroidCurrentFabricRemover.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ AndroidCurrentFabricRemover::AndroidCurrentFabricRemover(DeviceController * cont
env->ExceptionClear();
}

mOnErrorMethod = env->GetMethodID(callbackClass, "onError", "(JI)V");
mOnErrorMethod = env->GetMethodID(callbackClass, "onError", "(IJ)V");
if (mOnErrorMethod == nullptr)
{
ChipLogError(Controller, "Failed to access callback 'onError' method");
Expand Down

0 comments on commit 3108233

Please sign in to comment.