diff options
author | David Switzer <dswitzer@xevo.com> | 2017-05-16 15:35:16 -0700 |
---|---|---|
committer | David Switzer <dswitzer@xevo.com> | 2017-05-16 15:35:16 -0700 |
commit | 29cc426c24e4014ae0027d58fbb2e4b3e85b9dd8 (patch) | |
tree | ec592bdb10a94407359d83ed74c5b4dd5d6920e0 | |
parent | 266ea5353b71576152c0cc357a24c733c7d99052 (diff) | |
download | sdl_ios-29cc426c24e4014ae0027d58fbb2e4b3e85b9dd8.tar.gz |
Remove synthesized sessionSetupInProgress property.
-rw-r--r-- | SmartDeviceLink/SDLIAPTransport.m | 20 |
1 files changed, 2 insertions, 18 deletions
diff --git a/SmartDeviceLink/SDLIAPTransport.m b/SmartDeviceLink/SDLIAPTransport.m index b4b73ac42..0aeb2b2e8 100644 --- a/SmartDeviceLink/SDLIAPTransport.m +++ b/SmartDeviceLink/SDLIAPTransport.m @@ -33,24 +33,22 @@ int const streamOpenTimeoutSeconds = 2; } @property (assign) int retryCounter; -@property (nonatomic, assign) BOOL sessionSetupInProgress; @property (strong) SDLTimer *protocolIndexTimer; @property (nonatomic, assign) UIBackgroundTaskIdentifier backgroundTaskId; +@property (assign) BOOL sessionSetupInProgress; @end @implementation SDLIAPTransport -@synthesize sessionSetupInProgress = _sessionSetupInProgress; - - (instancetype)init { if (self = [super init]) { _alreadyDestructed = NO; + _sessionSetupInProgress = NO; _session = nil; _controlSession = nil; _retryCounter = 0; - _sessionSetupInProgress = NO; _protocolIndexTimer = nil; _transmit_queue = dispatch_queue_create("com.sdl.transport.iap.transmit", DISPATCH_QUEUE_SERIAL); _backgroundTaskId = UIBackgroundTaskInvalid; @@ -108,20 +106,6 @@ int const streamOpenTimeoutSeconds = 2; self.backgroundTaskId = UIBackgroundTaskInvalid; } -#pragma mark session setup getter/setter - -- (void)setSessionSetupInProgress:(BOOL)inProgress{ - _sessionSetupInProgress = inProgress; - if (!inProgress){ - // End the background task here to catch all cases - [self sdl_backgroundTaskEnd]; - } -} - -- (BOOL)sessionSetupInProgress{ - return _sessionSetupInProgress; -} - #pragma mark - EAAccessory Notifications - (void)sdl_accessoryConnected:(NSNotification *)notification { |