Skip to content
Commit 2dc47c1d authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Exit transient mode as soon as status bar window is fullscreen

When bouncer was popping up this caused us to call
PWM.adjustSystemUiVisibility from SystemUI. Since the transient
flag got cleared in that case we also hided the status bar, as we
assumed we are still in transient mode.

Instead, we exit transient mode as soon as the window is
fullscreen, which is quite robust.

This is not a perfect fix but given that the transient bar logic
is so quirky that needs to be rewritten at some point this fix
is good enough for now.

Test: Open camera, swipe down to show transient bars, click on the
Lock icon in the camera activity.
Fixes: 36333950

Change-Id: I6939c26f283d7d791c22d5891b62a705f62c116f
parent 246cc5bf
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment