summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-03-16 13:37:22 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-03-16 13:37:22 -0400
commita28ae67a790a52eb36073949a9016debbcf10fec (patch)
tree69af77abdaf2b9bd25bc0c4c4252afb4daf5f65d
parent1699ef8b3093de1596163177993ac04b1fd88def (diff)
downloadsdl_ios-a28ae67a790a52eb36073949a9016debbcf10fec.tar.gz
Fix missing parameter in handler
-rw-r--r--SmartDeviceLink/SDLLockScreenPresenter.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m
index 5a2fa1565..05fae4d6c 100644
--- a/SmartDeviceLink/SDLLockScreenPresenter.m
+++ b/SmartDeviceLink/SDLLockScreenPresenter.m
@@ -185,7 +185,7 @@ NS_ASSUME_NONNULL_BEGIN
if (self.lockViewController.presentingViewController == nil) {
SDLLogW(@"Attempted to dismiss lockscreen, but lockViewController is not presented");
if (completionHandler == nil) { return; }
- return completionHandler();
+ return completionHandler(NO);
}
// Let ourselves know that the lockscreen will dismiss so we can pause video streaming for a few milliseconds - otherwise the animation to dismiss the lockscreen will be very janky.