summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2019-12-05 10:34:41 -0500
committerJoel Fischer <joeljfischer@gmail.com>2019-12-05 10:34:41 -0500
commit0dbbce69be5be675b91489b9c09e013130e688e0 (patch)
treeb30b7d23346fba847e701ceca405bf90f85a7aa8
parent04e70e4d8c02c240364dbe7488c8e3e36c6b1a65 (diff)
downloadsdl_ios-bugfix/issue-1480-recreate-lockVC-every-time.tar.gz
Don't set the lock window until its neededbugfix/issue-1480-recreate-lockVC-every-time
-rw-r--r--SmartDeviceLink/SDLLockScreenPresenter.m2
1 files changed, 0 insertions, 2 deletions
diff --git a/SmartDeviceLink/SDLLockScreenPresenter.m b/SmartDeviceLink/SDLLockScreenPresenter.m
index 655ed3a27..0bb394abf 100644
--- a/SmartDeviceLink/SDLLockScreenPresenter.m
+++ b/SmartDeviceLink/SDLLockScreenPresenter.m
@@ -34,8 +34,6 @@ NS_ASSUME_NONNULL_BEGIN
CGRect screenFrame = [[UIScreen mainScreen] bounds];
_lockWindow = [[UIWindow alloc] initWithFrame:screenFrame];
_lockWindow.backgroundColor = [UIColor clearColor];
- _screenshotViewController = [[SDLScreenshotViewController alloc] init];
- _lockWindow.rootViewController = _screenshotViewController;
return self;
}