From 17f03548ba98e4db3f85fafee0a8c107023e1b21 Mon Sep 17 00:00:00 2001 From: Joshua Villasenor Date: Thu, 19 Oct 2023 09:48:34 -0700 Subject: [PATCH] =?UTF-8?q?Fix=20issue=20#27953=20where=20OTA=20Requestor?= =?UTF-8?q?=20is=20not=20receiving=20delayed=20action=20=E2=80=A6=20(#2916?= =?UTF-8?q?9)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../commands/provider/OTAProviderDelegate.mm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/darwin-framework-tool/commands/provider/OTAProviderDelegate.mm b/examples/darwin-framework-tool/commands/provider/OTAProviderDelegate.mm index f77b8d668656ae..22a7acd6859e57 100644 --- a/examples/darwin-framework-tool/commands/provider/OTAProviderDelegate.mm +++ b/examples/darwin-framework-tool/commands/provider/OTAProviderDelegate.mm @@ -67,6 +67,10 @@ - (void)handleQueryImageForNodeID:(NSNumber * _Nonnull)nodeID return; } + if (_delayedActionTime) { + _selectedCandidate.delayedActionTime = _delayedActionTime; + } + _selectedCandidate.updateToken = [self generateUpdateToken]; NSLog(@"Query Image Status: %hhu", _queryImageStatus); _selectedCandidate.status = @(_queryImageStatus);