summaryrefslogtreecommitdiff
path: root/sdm/libs/hwc2/hwc_display_external.cpp
diff options
context:
space:
mode:
authorLinux Build Service Account <lnxbuild@localhost>2018-03-05 07:23:58 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2018-03-05 07:23:58 -0800
commitb98e64543c68321086835bcd1e281ccda067305b (patch)
tree50a766ac50930a8c4ddb0fd2c695c73920a77a83 /sdm/libs/hwc2/hwc_display_external.cpp
parent7a44dd183167af0ccfa7a087ef961036aff11099 (diff)
parent426d81f7936bb6c81fef16e2d0e072fd1b0e7d9d (diff)
downloaddisplay-b98e64543c68321086835bcd1e281ccda067305b.tar.gz
Merge "hwc2: Set validated flag when layer stack is empty."
Diffstat (limited to 'sdm/libs/hwc2/hwc_display_external.cpp')
-rw-r--r--sdm/libs/hwc2/hwc_display_external.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/sdm/libs/hwc2/hwc_display_external.cpp b/sdm/libs/hwc2/hwc_display_external.cpp
index bb4ea891..45ed8919 100644
--- a/sdm/libs/hwc2/hwc_display_external.cpp
+++ b/sdm/libs/hwc2/hwc_display_external.cpp
@@ -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;
}