commit | 8ec6ff22dc56e7447991557075d19f9edb2d5aa8 | [log] [tgz] |
---|---|---|
author | Romain Guy <romainguy@google.com> | Wed May 31 19:22:30 2017 -0700 |
committer | Romain Guy <romainguy@google.com> | Wed May 31 19:31:47 2017 -0700 |
tree | 9e6ed4c0e865ecf687100bcc467a14882b6c9a37 | |
parent | 88d37ddac876c75dd5d2e39d33787dbcbf833641 [diff] |
Use wide gamut only when necessary Set the dataspace of the screenshot based on the result of the composition. When no wide gamut app is visible, the screenshot will be in sRGB, otherwise in Display P3. On device that do not support wide gamut, the color space will be unknown (native). Bug: 29940137 Test: screencap and Android Studio Change-Id: I93f3f8e5afebb9f3f17b835fdf5bc215b0856d55