commit | dfde511980f96cf583eda87e0ee24026d94caa31 | [log] [tgz] |
---|---|---|
author | Peiyong Lin <lpy@google.com> | Tue Jun 05 10:58:41 2018 -0700 |
committer | Peiyong Lin <lpy@google.com> | Tue Jun 05 14:08:09 2018 -0700 |
tree | fc7aa36a1b9703b3e4591d49b0ab456ce3c25567 | |
parent | 7ea1dc7fc863079c36e9ceedac255f3490a98f4a [diff] |
[SurfaceFlinger] Respect HDR data space. Respect HDR data space when there is no legacy HDR support. Previously we only cared about HDR data space when it is supported, however, on Pixel 2 there is no HDR mode support. This patch makes sure that when HDR mode is not supported, we fall back to Display P3 color mode correctly. BUG: 80404330 Test: Build, flash and watch Youtube HDR Change-Id: I7d27711fe4d33268e5ebbd14fce0975f9e642e84