summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2020-04-02 15:20:11 -0400
committerNicoleYarroch <nicole@livio.io>2020-04-02 15:20:11 -0400
commit1e0cb91b3805e92c6fff56f5aabd37a648318d08 (patch)
tree8f400b059dc19b381f8223f5f347b1d99b8be9c0
parentfeadb6a41d82b05c117f3230f19dead06fbac45f (diff)
downloadsdl_ios-1e0cb91b3805e92c6fff56f5aabd37a648318d08.tar.gz
Added logs
-rw-r--r--SmartDeviceLink/SDLChoiceSetManager.m4
1 files changed, 4 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLChoiceSetManager.m b/SmartDeviceLink/SDLChoiceSetManager.m
index 01e316185..1aaa87e56 100644
--- a/SmartDeviceLink/SDLChoiceSetManager.m
+++ b/SmartDeviceLink/SDLChoiceSetManager.m
@@ -119,6 +119,8 @@ UInt16 const ChoiceCellCancelIdMin = 1;
}
- (void)start {
+ SDLLogD(@"Starting manager");
+
[self.systemCapabilityManager subscribeToCapabilityType:SDLSystemCapabilityTypeDisplays withObserver:self selector:@selector(sdl_displayCapabilityDidUpdate:)];
if ([self.currentState isEqualToString:SDLChoiceManagerStateShutdown]) {
@@ -129,6 +131,8 @@ UInt16 const ChoiceCellCancelIdMin = 1;
}
- (void)stop {
+ SDLLogD(@"Stopping manager");
+
[self sdl_runSyncOnQueue:^{
[self.stateMachine transitionToState:SDLChoiceManagerStateShutdown];
}];