commit | 36574d99f78bb533db4eaeb35998bb96f2e69193 | [log] [tgz] |
---|---|---|
author | Chia-I Wu <olv@google.com> | Wed May 16 10:54:36 2018 -0700 |
committer | Chia-I Wu <olv@google.com> | Wed May 16 10:58:59 2018 -0700 |
tree | 664c8d4d85280f8597038e3c456c024a4cf4c7b0 | |
parent | 7c964b3d794f43f24a89f0a55b9e1daeff51fac2 [diff] |
surfaceflinger: fix screenshot dataspace under WCG Commit a252d8958 (Use GraphicBuffer instead of GBP for screenshots) removed the ability to query the dataspace of the screenshots. WM assumes they are sRGB anyway. Let's force screenshots to be in sRGB. Bug: 79547689 Test: no color shift during Photos rotation Change-Id: If57cba1b5a50c4e1f9b305af39d9588b3dd1775d