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

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

Simulate extra navigation bar for fixed rotation

The change is to consider extra navigation bar and all other windows
providing insets when simulate display for fixed rotation.

This change introduced a potential behavior divergence between flexible
insets and the legacy one. For the legacy usage, the extra navigation
bar will be layout during the simulated layout process for the display
frame calculation, and all the insets without a window, insets of status
bar, navigation bar and extra navigation bar will be included in the
result. For the new flexible insets implementation, all the windows
providing insets will be simulated. Currently, there's no actual
difference, but the behavior will be different if there're more window
providing insets during fixed rotation.

Bug: 199472694
Test: Check fixed rotation behavior with taskbar.
Test: Check result of DisplayPolicy#simulateLayoutDisplay().
Change-Id: I5db1cb78dee50e593d229922d39c8898d5d4eef7
parent 2496d18f
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