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

Skip to content
Commit 2163e886 authored by Yunfan Chen's avatar Yunfan Chen
Browse files

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
parent ce7b8f0a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment