Respond to CR.

// FREEBIE
This commit is contained in:
Matthew Chen 2017-09-18 16:05:01 -04:00
parent 43370ffc3f
commit 7b1b532b19

View File

@ -1622,7 +1622,8 @@ protocol CallServiceObserver: class {
}
let frontmostViewController = UIApplication.shared.frontmostViewControllerIgnoringAlerts
guard nil != frontmostViewController as? CallViewController else {
guard nil != frontmostViewController as? CallViewController else {
OWSProdError(OWSAnalyticsEvents.callServiceCallViewCouldNotPresent(), file:#file, function:#function, line:#line)
owsFail("\(TAG) in \(#function) Call terminated due to call view presentation delay: \(frontmostViewController.debugDescription).")
self.terminateCall()