diff options
author | NicoleYarroch <nicole@livio.io> | 2018-09-11 11:48:01 -0400 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-09-11 11:48:01 -0400 |
commit | 776e70261ff70cc9d4367c2412193a02534904f1 (patch) | |
tree | 17ac27e601d49904f17d14ce2c18bfa3a201cd5f | |
parent | f38ad1f0e36b1207716c3b7706903ba1f6e00863 (diff) | |
download | sdl_ios-bugfix/issue_1070_lock_screen_visibility_can_not_be_toggled.tar.gz |
Removed unused var from lock screen managerbugfix/issue_1070_lock_screen_visibility_can_not_be_toggled
Signed-off-by: NicoleYarroch <nicole@livio.io>
-rw-r--r-- | SmartDeviceLink/SDLLockScreenManager.m | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/SmartDeviceLink/SDLLockScreenManager.m b/SmartDeviceLink/SDLLockScreenManager.m index 2e6e784e0..a8c8c3758 100644 --- a/SmartDeviceLink/SDLLockScreenManager.m +++ b/SmartDeviceLink/SDLLockScreenManager.m @@ -28,7 +28,6 @@ NS_ASSUME_NONNULL_BEGIN @property (strong, nonatomic, readwrite) SDLLockScreenConfiguration *config; @property (strong, nonatomic) id<SDLViewControllerPresentable> presenter; @property (strong, nonatomic, nullable) SDLOnLockScreenStatus *lastLockNotification; -@property (strong, nonatomic, nullable) SDLHMILevel previousHMILevel; @end @@ -44,7 +43,6 @@ NS_ASSUME_NONNULL_BEGIN _canPresent = NO; _config = config; _presenter = presenter; - _previousHMILevel = nil; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sdl_lockScreenStatusDidChange:) name:SDLDidChangeLockScreenStatusNotification object:dispatcher]; [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sdl_lockScreenIconReceived:) name:SDLDidReceiveLockScreenIcon object:dispatcher]; @@ -101,7 +99,6 @@ NS_ASSUME_NONNULL_BEGIN return; } - self.previousHMILevel = self.lastLockNotification.hmiLevel; self.lastLockNotification = notification.notification; [self sdl_checkLockScreen]; } |