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

Skip to content
Commit 654386dd authored by Hiroki Sato's avatar Hiroki Sato
Browse files

Provide only caption and IME insets to freeform windows

System bars shouldn't provide insets to freeform windows. Currently,
gesture insets and tappable elements insets by system bars are provided
to freeform windows. These insets are attached to display, and intended
to be used for layouting fullscreen apps.

With this change, only caption insets and ime insets are given to
freeform windows.

Note that gesture and tappable insets from a caption bar are added in
InsetsState#processSource. Thus, this change doesn't affect it.

Bug: 234144193
Test: android.server.wm.WindowInsetsPolicyTest in freeform device
Change-Id: Ife41a37082a65db50c7bb5b75690db5bc3cb0bd2
parent 7be7140e
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