summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/LayerProtoHelper.cpp
diff options
context:
space:
mode:
author Daniel Solomon <solomondaniel@google.com> 2019-03-01 16:27:39 -0800
committer Daniel Solomon <solomondaniel@google.com> 2019-03-01 16:34:43 -0800
commit94a4df491c57bf7ed89a3297758e6a1f96eb182a (patch)
treecb2c7adc4d3773124f0eded2ad1e44413e01cbc2 /services/surfaceflinger/LayerProtoHelper.cpp
parent25c5b36ab4ddfec2afae38d240447c9a80b09c50 (diff)
SurfaceFlinger: fix sysprop API condition for color management
Device color management can be set via a dedicated property, or inferred from two other properties. Currently all 3 properties need to be specified to *some* value in order for color management to be set as intended. This fix changes this logic so that if one of the properties is not specified, the default value for color management is used. Fixes: 126907354 Test: manual by omitting some of the relevant props from device makefiles; and atest libsurfaceflinger_unittest Change-Id: Ic3f76a3e50914906cfd53ec8242dedc2d1585186
Diffstat (limited to 'services/surfaceflinger/LayerProtoHelper.cpp')
0 files changed, 0 insertions, 0 deletions