Merge "hwc2: fix the logic to validate return value of GetProperty" into display.lnx.5.1