Default dataspace must be UNKNOWN for compatibility
The first iteration of getColorSpaceAttribute would cause the dataSpace to become HAL_DATASPACE_SRGB_LINEAR. While technically correct, that's not what applications are expecting. This change makes sure that we only change the default if the application specifically asked for the change. That keeps us backward compatible behavior-wise. Test: logcat and verify that we do not see SRGB_LINEAR Bug: 37946330 Change-Id: I3265f53d2ff431405e7cf40e04e8422a63afeb62
Loading
Please register or sign in to comment