commit | 4b0e4ddf448f14198c578a71fae888025ab5964f | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Tue Feb 20 13:04:55 2018 -0800 |
committer | Chia-I Wu <olv@google.com> | Wed Feb 28 08:47:09 2018 -0800 |
tree | 3a3b3c5eb9ba2a0efe72d3a484d7bb4884f510b0 | |
parent | 78e2069b7cd786dc82e346a58ef0bc97f5aadfde [diff] |
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