commit | 2163e88678c9a46a5f87c3af19d820ad861e3016 | [log] [tgz] |
---|---|---|
author | Yunfan Chen <yunfanc@google.com> | Thu Jan 12 15:25:25 2023 +0900 |
committer | Yunfan Chen <yunfanc@google.com> | Thu Feb 09 18:15:18 2023 +0900 |
tree | 90847e2e26cb3d5e0eeef64a0c4a98b84e882420 | |
parent | ce7b8f0a04bf604e6638b7d432f6bc14ea9cc0bc [diff] |
Fix missing gesture insets for 3-button navigation After the refactor of flexible insets, the provided insets of 3-button nav bar doesn't match the old behavior. This patch brings back the correct behavior. That is: provide the nav bar frame as the bottom gesture insets, and provide the side gesture insets if there're side cutouts. Test: WindowInsetsPolicyTest Bug: 263234979 Change-Id: I430cfd438c5ae1c8bd129b8703648e66efa65719