Skip to content

Commit

Permalink
Update CompletionListenerAdapter.kt
Browse files Browse the repository at this point in the history
  • Loading branch information
yunhanw-google authored Mar 26, 2024
1 parent 91bf271 commit 4d5e360
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ class CompletionListenerAdapter(val listener: MatterController.CompletionListene
override fun onICDRegistrationInfoRequired() = listener.onICDRegistrationInfoRequired()

override fun onICDRegistrationComplete(errorCode: Long, icdDeviceInfo: ICDDeviceInfo) =
listener.onICDRegistrationComplete(errorCode, icdDeviceInfo)
listener.onICDRegistrationComplete(errorCode.toUInt(), icdDeviceInfo)

override fun onError(error: Throwable) = listener.onError(error.toUInt())

Expand Down

0 comments on commit 4d5e360

Please sign in to comment.