diff options
| author | 2022-05-25 00:55:26 +0800 | |
|---|---|---|
| committer | 2022-05-25 00:55:26 +0800 | |
| commit | 521ba43e12fe38f5178ceab6fc843cfa393f875f (patch) | |
| tree | 8d853ef3c106b111b08abe8282223f95028aecee /libs/androidfw/Util.cpp | |
| parent | 811e3c9d08e9d54f8e31a5068bd65281477a589f (diff) | |
Only update the compat system UI visibility if the source is valid
If two insets source consumers handle the same public type (like
navigation bar and taskbar both provide Type.navigationBars()), one has
a valid source but the other one doesn't, we should only let the one
with the valid source update the compat system UI visibility.
Bug: 232327949
Test: atest WindowInsetsControllerTests\
#testSystemUiVisibilityCallbackCausedByInsets
Change-Id: I07b35f488c5af273cafaf4a8a41f0a51365038a0
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions