update new sdk
This commit is contained in:
parent
f33907443a
commit
744c72c133
1643 changed files with 83006 additions and 28021 deletions
2
android/hardware/qcom/display/msm8998/sdm/libs/hwc2/hwc_session.cpp
Normal file → Executable file
2
android/hardware/qcom/display/msm8998/sdm/libs/hwc2/hwc_session.cpp
Normal file → Executable file
|
@ -1262,7 +1262,7 @@ android::status_t HWCSession::SetColorModeById(const android::Parcel *input_parc
|
|||
auto device = static_cast<hwc2_device_t *>(this);
|
||||
|
||||
if (display > HWC_DISPLAY_VIRTUAL) {
|
||||
return -EINVAL;
|
||||
return android::BAD_VALUE;
|
||||
}
|
||||
|
||||
auto err = CallDisplayFunction(device, display, &HWCDisplay::SetColorModeById, mode);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue