diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-03-11 13:02:38 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-03-11 13:02:38 -0400 |
commit | cfb751738ea7854e243b3fb24a121d5c3fa4114d (patch) | |
tree | 24165f7283466a7a7e8bb91a8e25fd8fe91dc088 | |
parent | a6afbd2dcdc11a7b6c433c33500abc0c414cec3f (diff) | |
download | sdl_ios-cfb751738ea7854e243b3fb24a121d5c3fa4114d.tar.gz |
Add documentation to soft button suspended method
-rw-r--r-- | SmartDeviceLink/SDLSoftButtonManager.m | 2 |
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 |