From f9720c5414f827a55025cfc39bcafdbfcfe506ba Mon Sep 17 00:00:00 2001 From: yunhanw Date: Thu, 10 Oct 2024 11:39:18 -0700 Subject: [PATCH] enable stayActive test in java matter controller during commission flow --- .../com/matter/controller/commands/pairing/PairingCommand.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 a33a813f07310a..63779dd0afe1ac 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,7 @@ 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) {