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
Loading
Please register or sign in to comment