diff options
| author | 2025-02-19 10:00:25 +0000 | |
|---|---|---|
| committer | 2025-02-19 10:00:25 +0000 | |
| commit | b1c0a9dee8609e4341c7d2f1dd140414f7832acc (patch) | |
| tree | f1977103fe1a1af6467854ab32cca298e11d91fe /libs/androidfw/ApkParsing.cpp | |
| parent | c26379f212e327cbf9ee93b3f72fb08be07a1b82 (diff) | |
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
Diffstat (limited to 'libs/androidfw/ApkParsing.cpp')
0 files changed, 0 insertions, 0 deletions