Skip to content
Commit ecdee86b authored by Darryl L Johnson's avatar Darryl L Johnson
Browse files

Reapply display settings to DisplayContent when display changes.

When the physical display devices that map to a logical display change
onDisplayChanged() is called. However, the current logic only reads the
display metric overrides supplied from settings on creation of the
DisplayContent. This updates the logic to ensure that when a display
changes the most up-to-date settings values are read which may be
different from the current values if the logical display is mapped to a
different physical display.

Bug: 168808369
Test: atest:DisplayContentTests#testDisplaySettingsReappliedWhenDisplayChanged
Change-Id: Ia3a0d199f81e0e0ebc531d1edee54638946702f2
parent b64df77f
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