summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2018-01-08 10:15:55 -0500
committerJoel Fischer <joeljfischer@gmail.com>2018-01-08 10:15:55 -0500
commite3bc79dae7e757094d6c14ddb78c71e89d54b4fc (patch)
tree18c1022b41d5d679d32172bf71f9b5aa9a6bc52e
parenteccf8e74c5bb5b43c2e729967c127b1616f0875c (diff)
downloadsdl_ios-feature/issue_794_CarWindow.tar.gz
Fix presenting lock screenfeature/issue_794_CarWindow
* Lock screen screenshot was not being captured, it is now captured prior to presentation
-rw-r--r--SmartDeviceLink/SDLLockScreenPresenter.m1
1 files changed, 1 insertions, 0 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m
index ee8fe3faa..263b097b0 100644
--- a/SmartDeviceLink/SDLLockScreenPresenter.m
+++ b/SmartDeviceLink/SDLLockScreenPresenter.m
@@ -55,6 +55,7 @@ NS_ASSUME_NONNULL_BEGIN
// We then move the lockWindow to the original appWindow location.
self.lockWindow.frame = appWindow.bounds;
+ [self.screenshotViewController loadScreenshotOfWindow:appWindow];
[self.lockWindow makeKeyAndVisible];
// And present the lock screen.