call banner above status bar for now

pull/1/head
Michael Kirk 7 years ago committed by Matthew Chen
parent 29d08545e2
commit 6c7af671bc

@ -31,16 +31,15 @@ const CGFloat OWSWindowManagerCallScreenHeight(void)
// Behind everything, especially the root window. // Behind everything, especially the root window.
const UIWindowLevel UIWindowLevel_Background = -1.f; const UIWindowLevel UIWindowLevel_Background = -1.f;
// MJK FIXME: this *looks* right, but then we can't receive taps that // Putting the call banner above the status bar is not ideal.
// touch the status bar. We could: obscure status bar, but that looks wrong. // It obscures status bar content like the system clock
// have *another* transparent window? // But being behind the status bar introduces two worse problems that'd we'd need to address
// // 1. Tap target is too small, only the 20px below the status bar are tappable
// In front of the root window, behind the status bar // 2. hot-spot connected banner obscure our return-to-call banner, so the user can't see that they're in a call.
// but behind the screen blocking window.
const UIWindowLevel UIWindowLevel_ReturnToCall(void); const UIWindowLevel UIWindowLevel_ReturnToCall(void);
const UIWindowLevel UIWindowLevel_ReturnToCall(void) const UIWindowLevel UIWindowLevel_ReturnToCall(void)
{ {
return UIWindowLevelStatusBar - 1.f; return UIWindowLevelStatusBar + 1.f;
} }
// In front of the root window, behind the screen blocking window. // In front of the root window, behind the screen blocking window.

Loading…
Cancel
Save