Skip to content

Commit

Permalink
check update in updatePresentation
Browse files Browse the repository at this point in the history
  • Loading branch information
FrankElias77 committed Apr 1, 2021
1 parent cdcc8a9 commit 04c3f5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartDeviceLink/private/SDLLockScreenManager.m
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ - (void)sdl_checkLockScreen {

- (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) {
Expand Down

0 comments on commit 04c3f5f

Please sign in to comment.