diff options
author | Justin Gluck <justin.gluck@livio.io> | 2019-12-10 10:33:11 -0500 |
---|---|---|
committer | Justin Gluck <justin.gluck@livio.io> | 2019-12-10 10:33:11 -0500 |
commit | d00722cc258f9dad09154e3a7f80f01167f0f428 (patch) | |
tree | 32e698f7ce931143513b00841c757c1a3bfea284 | |
parent | d269944dceaf25ac43aa070fc3b613f7f39bfeec (diff) | |
download | sdl_ios-d00722cc258f9dad09154e3a7f80f01167f0f428.tar.gz |
Pr fix
-rw-r--r-- | SmartDeviceLink/SDLSecondaryTransportManager.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLSecondaryTransportManager.m b/SmartDeviceLink/SDLSecondaryTransportManager.m index 0e7ded243..ab179e031 100644 --- a/SmartDeviceLink/SDLSecondaryTransportManager.m +++ b/SmartDeviceLink/SDLSecondaryTransportManager.m @@ -357,7 +357,6 @@ static const int TCPPortUnspecified = -1; // this will trigger audio / video streaming if they are allowed on primary transport [self sdl_handleTransportUpdateWithPrimaryAvailable:YES secondaryAvailable:NO]; - self.isAppReady = true; [self.stateMachine transitionToState:SDLSecondaryTransportStateConfigured]; } @@ -714,7 +713,7 @@ static const int TCPPortUnspecified = -1; } - (void)appDidBecomeReady { - self.secondaryProtocol.securityManager = self.primaryProtocol.securityManager; + self.appReady = YES; if ([self.stateMachine.currentState isEqualToString:SDLSecondaryTransportStateConfigured]) { [self.stateMachine transitionToState:SDLSecondaryTransportStateConnecting]; } |