Dismiss LockViewController not always completed #1523
Labels
bug
A defect in the library
manager-lockscreen
Relating to the manager layer - lockscreen
manager-streaming-video
Relating to the manager layer - video streaming
Projects
Bug Report
This is a regression since 6.5.0. With 6.5.0 the lock screen presenter has changed. The logic to dismiss a lock screen is triggered for many different reasons e.g. manager connects or app gets to foreground on the phone. See SDLLockScreenPresenter.m:168. Every dismiss attempt sends a
SDLLockScreenManagerWillDismissLockScreenViewController
notification. However if the lock screen is not presented, the notificationSDLLockScreenManagerDidDismissLockScreenViewController
is missing. The latter one is important forSDLCarWindow
to operate as it's tracking lockscreen transitions. The consequence is that mobile navigation apps don't project the UI as the car window is early returning insyncFrame
see SDLCarWindow.m:70.To solve the issue the lock screen presenter should not send notifications if
LockViewController
is not presented. See below snippet that I tested right before the notification solved the problem for me.Reproduction Steps
Expected Behavior
The nav app should stream the app UI to the IVI
Observed Behavior
The IVI is waiting for the app to start the stream
syncFrame
callsOS & Version Information
The text was updated successfully, but these errors were encountered: