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

Skip to content
Commit 4b0e4ddf authored by Chia-I Wu's avatar Chia-I Wu
Browse files

surfaceflinger: fix WCG flag in DisplayDevice creation

When a display does not support any wide color mode, yet it is
plugged when mForceNativeColorMode is true, we would incorrectly
mark the display as supporting wide color.

We should ignore mForceNativeColorMode entirely in DisplayDevice
creation because mForceNativeColorMode may change at runtime.

Test: builds
Change-Id: Icb245a2e78954b90d6c5461de8f4ef571858d959
parent 78e2069b
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