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

Skip to content
Commit 046807f0 authored by Charles Chen's avatar Charles Chen
Browse files

Reconfigure displays on ready to apply DisplayWindowSettings

For secondary displays, we apply display settings in RWC#createDisplayContent()
in RAC#setWindowManager() but WMS#reconfigureDisplayLocked() may not take effect since
display was not ready then and reconfigure call will be a no-op.

This CL will reconfigure all displays in WMS#displayReady().

Fixes: 131909551
Test: atest WmTests:DisplayWindowSettingsTests#testDisplayWindowSettingsAppliedOnDisplayReady
Test: manual: 1. adb pull data/system/display_settings.xml
              2. add forcedDensity="XXX" in the row which display
	      name="local:1"
	      3. adb push display_settings.xml data/system
	      4. adb reboot
	      5. Verify if nav bar applies the density change
Change-Id: I21172fbe590da499c633b54bfe53f6e92adb7ee8
parent dcb73777
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