commit | e467b6e722316e54be6053e0798a635d0207c4e6 | [log] [tgz] |
---|---|---|
author | Tiger Huang <tigerhuang@google.com> | Wed Apr 13 18:13:52 2022 +0800 |
committer | Tiger Huang <tigerhuang@google.com> | Wed Apr 13 18:13:52 2022 +0800 |
tree | 9e1c07674b4a1add74607b77a7829522303e5aba | |
parent | eb1eb03859559e48fcd2cbefb8b100523ac08d6c [diff] |
Fix InsetsState#calculateVisibleInsets Before the new insets system, a window wouldn't receive visible insets if it: - has FLAG_LAYOUT_NO_LIMITS, - is not TYPE_WALLPAPER or TYPE_SYSTEM_ERROR, and - is not in multi-window mode. This CL makes the visible insets compatible with the legacy insets system. Fix: 223536648 Test: atest InsetsStateTest Change-Id: Ia73142cfae701d0532a9a397366c50aeef82abb2