summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-03-11 13:02:38 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-03-11 13:02:38 -0400
commitcfb751738ea7854e243b3fb24a121d5c3fa4114d (patch)
tree24165f7283466a7a7e8bb91a8e25fd8fe91dc088
parenta6afbd2dcdc11a7b6c433c33500abc0c414cec3f (diff)
downloadsdl_ios-cfb751738ea7854e243b3fb24a121d5c3fa4114d.tar.gz
Add documentation to soft button suspended method
-rw-r--r--SmartDeviceLink/SDLSoftButtonManager.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLSoftButtonManager.m b/SmartDeviceLink/SDLSoftButtonManager.m
index fc59a24f8..858f29ef8 100644
--- a/SmartDeviceLink/SDLSoftButtonManager.m
+++ b/SmartDeviceLink/SDLSoftButtonManager.m
@@ -100,6 +100,8 @@ NS_ASSUME_NONNULL_BEGIN
return queue;
}
+/// Suspend the queue if the soft button capabilities are nil or there are no capability objects in the array (we assume that soft buttons are not supported)
+/// OR if the HMI level is NONE since we want to delay sending RPCs until we're in non-NONE
- (void)sdl_updateTransactionQueueSuspended {
if (self.windowCapability.softButtonCapabilities == nil
|| self.windowCapability.softButtonCapabilities.count == 0