diff options
author | NicoleYarroch <nicole@livio.io> | 2018-01-10 10:08:20 -0500 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-01-10 10:08:20 -0500 |
commit | 5042a2d57933ea799797a14659beb70d6707d701 (patch) | |
tree | 8399acddb84df406734207ed9a0dc6ee1cfb3362 | |
parent | 4c67625dfb3d4052f90885556f58258dd7136dfb (diff) | |
download | sdl_ios-5042a2d57933ea799797a14659beb70d6707d701.tar.gz |
Added a return so a notification is not sent if no lockscreen is present
-rw-r--r-- | SmartDeviceLink/SDLLockScreenPresenter.m | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m index f72d6d776..60fc82a9c 100644 --- a/SmartDeviceLink/SDLLockScreenPresenter.m +++ b/SmartDeviceLink/SDLLockScreenPresenter.m @@ -95,6 +95,7 @@ NS_ASSUME_NONNULL_BEGIN return; } else if (appWindow.isKeyWindow) { SDLLogW(@"Attempted to dismiss lock screen, but it is already dismissed"); + return; } // Let us know we are about to dismiss. |