Merge "hwc2: Set validated flag when layer stack is empty."
This commit is contained in:
committed by
Gerrit - the friendly Code Review server
commit
8a81ea7b6c
@@ -127,6 +127,7 @@ HWC2::Error HWCDisplayExternal::Validate(uint32_t *out_num_types, uint32_t *out_
|
|||||||
|
|
||||||
if (layer_set_.empty()) {
|
if (layer_set_.empty()) {
|
||||||
flush_ = true;
|
flush_ = true;
|
||||||
|
validated_ = true;
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user