From e62fe87b01ffc321fe57c16d86e07c0c8e290232 Mon Sep 17 00:00:00 2001 From: Michael Kirk Date: Wed, 16 May 2018 10:14:11 -0400 Subject: [PATCH] show status bar *above* call window --- Signal/src/util/OWSWindowManager.m | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Signal/src/util/OWSWindowManager.m b/Signal/src/util/OWSWindowManager.m index beda29b7e..114dc403c 100644 --- a/Signal/src/util/OWSWindowManager.m +++ b/Signal/src/util/OWSWindowManager.m @@ -13,19 +13,25 @@ NS_ASSUME_NONNULL_BEGIN // Behind everything, especially the root window. const UIWindowLevel UIWindowLevel_Background = -1.f; -// In front of the root window _and_ status bar +// MJK FIXME: this *looks* right, but then we can't receive taps that +// touch the status bar. We could: obscure status bar, but that looks wrong. +// have *another* transparent window? +// +// In front of the root window, behind the status bar // but behind the screen blocking window. 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. const UIWindowLevel UIWindowLevel_CallView(void); const UIWindowLevel UIWindowLevel_CallView(void) { return UIWindowLevelNormal + 1.f; } + // In front of everything, including the status bar. const UIWindowLevel UIWindowLevel_ScreenBlocking(void); const UIWindowLevel UIWindowLevel_ScreenBlocking(void)