From c3a7a86a813bce1deca1b66a2304615fad72a80a Mon Sep 17 00:00:00 2001 From: Ramakant Singh Date: Mon, 26 Feb 2018 22:45:00 +0530 Subject: [PATCH] hwc2: Set validated flag when layer stack is empty. Change-Id: I4d782deb55637df6599b017d118c204db35af5c6 CRs-Fixed: 2192760 --- sdm/libs/hwc2/hwc_display_external.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/sdm/libs/hwc2/hwc_display_external.cpp b/sdm/libs/hwc2/hwc_display_external.cpp index 8e00cfda..04595ba5 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; }