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

Commit 919de5f6 authored by Ebru Kurnaz's avatar Ebru Kurnaz
Browse files

Add a new field in DisplayContent for saving forced density ratio

This value is used to update forced density in external displays when a
resolution change happens. When the resolution change happens initial density
changes, but the ratio between initial and forced density should not change to preserve the size of the UI elements.

Flag: com.android.window.flags.enable_persisting_density_scale_for_connected_displays
Test: atest DisplayContentTests
Bug: 392855657
Change-Id: Id30f1c2fedd939d3191c28d25a2c465792ff799b
parent 5faf193a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment