commit | 1988399d7132bc1fd880a05540b6c5b4fcce8ae5 | [log] [tgz] |
---|---|---|
author | yunhanw-google <yunhanw@google.com> | Fri Oct 11 13:41:02 2024 -0700 |
committer | GitHub <noreply@github.com> | Fri Oct 11 20:41:02 2024 +0000 |
tree | ef0ef491d3b997049b260dfe7084cb96a1fb8eb4 | |
parent | 8e1ab70ddaa965cb71d8158fd306271611718e96 [diff] |
enable stayActive test in java matter controller during commission flow (#36020)
diff --git a/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt b/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt index a33a813..4351a93 100644 --- a/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt +++ b/examples/java-matter-controller/java/src/com/matter/controller/commands/pairing/PairingCommand.kt
@@ -183,7 +183,9 @@ 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) {