Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit d8d93355 authored by Jorge Gil's avatar Jorge Gil
Browse files

Force consume caption bar insets in freeform immersive

Adds top padding to DecorView equal to the caption inset when a freeform
window has FULLSCREEN sysUiVisibility is requested. This is to ensure
that the forced-visible caption doesn't occlude app content when a
freeform app tries to enter immersive mode but remains in freeform.

Bug: 316231589
Test: atest WmTests WMShellUnitTests
Flag: com.android.window.flags.enable_caption_compat_inset_force_consumption

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