summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-03-11 13:55:09 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-03-11 13:55:09 -0400
commitea27a1b23aa6f346d531d26a614e274fb6de3697 (patch)
tree4d477a8d680358224cd9f63d91321374f86b6842
parent9d1f63bfdeb03954c9f45122cc71c6b4f6590da1 (diff)
downloadsdl_ios-ea27a1b23aa6f346d531d26a614e274fb6de3697.tar.gz
Add logs to soft button manager
-rw-r--r--SmartDeviceLink/SDLSoftButtonManager.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLSoftButtonManager.m b/SmartDeviceLink/SDLSoftButtonManager.m
index 2c0616ab7..4eb2dc64b 100644
--- a/SmartDeviceLink/SDLSoftButtonManager.m
+++ b/SmartDeviceLink/SDLSoftButtonManager.m
@@ -104,8 +104,10 @@ NS_ASSUME_NONNULL_BEGIN
/// 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.softButtonCapabilities == nil || [self.currentLevel isEqualToEnum:SDLHMILevelNone]) {
+ SDLLogD(@"Suspending the transaction queue. Current HMI level is NONE: %@, soft button capabilities are nil: %@", ([self.currentLevel isEqualToEnum:SDLHMILevelNone] ? @"YES" : @"NO"), (self.softButtonCapabilities == nil ? @"YES" : @"NO"));
self.transactionQueue.suspended = YES;
} else {
+ SDLLogD(@"Starting the transaction queue");
self.transactionQueue.suspended = NO;
}
}