Updates necessary to make screen saver disappear on incoming call

This commit is contained in:
Neil Dorin
2020-08-19 14:53:47 -06:00
parent b1040b56d5
commit c9fce06bd7
5 changed files with 31 additions and 23 deletions

View File

@@ -391,6 +391,15 @@ namespace PepperDash.Essentials.UIDrivers.VC
icon = "Camera";
msg = string.Format("Incoming video call from: {0}", call.Name);
}
if (Parent.PopupInterlock.IsShown)
{
if (Parent.PopupInterlock.CurrentJoin == UIBoolJoin.MCScreenSaverVisible)
{
Parent.PopupInterlock.HideAndClear();
}
}
IncomingCallModal.PresentModalDialog(2, "Incoming Call", icon, msg,
"Ignore", "Accept", false, false, b =>
{