Merge "hwc2: Set validated flag when layer stack is empty."

This commit is contained in:
Linux Build Service Account
2018-03-12 18:58:34 -07:00
committed by Gerrit - the friendly Code Review server

View File

@@ -127,6 +127,7 @@ HWC2::Error HWCDisplayExternal::Validate(uint32_t *out_num_types, uint32_t *out_
if (layer_set_.empty()) {
flush_ = true;
validated_ = true;
return status;
}