hwc2: Set validated flag when layer stack is empty.

Change-Id: I4d782deb55637df6599b017d118c204db35af5c6
CRs-Fixed: 2192760
This commit is contained in:
Ramakant Singh
2018-02-26 22:45:00 +05:30
committed by Gerrit - the friendly Code Review server
parent 45609e11e3
commit c3a7a86a81

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;
}