summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicoleYarroch <nicole@livio.io>2018-09-11 11:48:01 -0400
committerNicoleYarroch <nicole@livio.io>2018-09-11 11:48:01 -0400
commit776e70261ff70cc9d4367c2412193a02534904f1 (patch)
tree17ac27e601d49904f17d14ce2c18bfa3a201cd5f
parentf38ad1f0e36b1207716c3b7706903ba1f6e00863 (diff)
downloadsdl_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.m3
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];
}