diff options
author | Frank Elias <francois.elias@livio.io> | 2021-04-01 13:10:49 -0400 |
---|---|---|
committer | Frank Elias <francois.elias@livio.io> | 2021-04-01 13:10:49 -0400 |
commit | 04c3f5fa6c4f9b0925a03db237cea77ceca45dfb (patch) | |
tree | c76b2e856ba1313d60222a2ac89d0723b8250762 | |
parent | cdcc8a93cf535384955ae7b97f0b9f9211d3bb3e (diff) | |
download | sdl_ios-04c3f5fa6c4f9b0925a03db237cea77ceca45dfb.tar.gz |
check update in updatePresentationbugfix/issue-1948-lock-screen-not-dismissible
-rw-r--r-- | SmartDeviceLink/private/SDLLockScreenManager.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/private/SDLLockScreenManager.m b/SmartDeviceLink/private/SDLLockScreenManager.m index 83be63732..1e3318b9a 100644 --- a/SmartDeviceLink/private/SDLLockScreenManager.m +++ b/SmartDeviceLink/private/SDLLockScreenManager.m @@ -190,7 +190,7 @@ NS_ASSUME_NONNULL_BEGIN - (void)sdl_updatePresentation { if (self.config.displayMode == SDLLockScreenConfigurationDisplayModeAlways) { - if (self.canPresent && !self.lockScreenDismissedByUser) { + if (self.canPresent && !self.lockScreenDismissedByUser && !self.lockScreenDismissable) { [self.presenter updateLockScreenToShow:YES withCompletionHandler:nil]; } } else if (self.lastLockNotification.lockScreenStatus == SDLLockScreenStatusRequired) { |