Skip to content

Commit

Permalink
enable stayActive test in java matter controller during commission fl…
Browse files Browse the repository at this point in the history
…ow (#36020)
  • Loading branch information
yunhanw-google authored and pull[bot] committed Nov 29, 2024
1 parent 4b3c024 commit 22ee8be
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,9 @@ abstract class PairingCommand(
override fun onICDRegistrationInfoRequired() {
logger.log(Level.INFO, "onICDRegistrationInfoRequired")
currentCommissioner()
.updateCommissioningICDRegistrationInfo(ICDRegistrationInfo.newBuilder().build())
.updateCommissioningICDRegistrationInfo(
ICDRegistrationInfo.newBuilder().setICDStayActiveDurationMsec(30000L).build()
)
}

override fun onICDRegistrationComplete(errorCode: Long, icdDeviceInfo: ICDDeviceInfo) {
Expand Down

0 comments on commit 22ee8be

Please sign in to comment.