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

Skip to content
Commit b1c0a9de authored by Felix Stern's avatar Felix Stern
Browse files

Let window overwrite insets again if it has a (fake) control

When a heads up notification was active, and we started to hide insets types, this would invoke the onApplyWindowInsets callback twice. This happened due to the fact that we hold a fake control, which is replaced by the real control, after the notification is gone.
Previously, overwriting the insets was only possible, if the control had a leash, which is reverted by this CL.

Fix: 395816479
Flag: EXEMPT bugfix
Test: atest android.server.wm.insets.WindowInsetsControllerTests#testDispatchApplyWindowInsetsCount_systemBars
Change-Id: I2523607e409a2d86b7d7f58e46e0fe6e29a47ad9
parent c26379f2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment