summaryrefslogtreecommitdiff
path: root/msm8998
diff options
context:
space:
mode:
authorValerie Hau <vhau@google.com>2019-04-16 14:30:52 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2019-04-16 14:30:52 +0000
commit84b00119f7cdf0881602c2dc786150d5ac513ff9 (patch)
tree53a04a329c4cf5c89969f2c730f4e094884ca6f1 /msm8998
parent4aa0e63fc27030b81a4ed04aa481a54fc9c2ee31 (diff)
parent9ee7ffac69b368c7bac45f8a7db9db4ec7a5c722 (diff)
downloaddisplay-84b00119f7cdf0881602c2dc786150d5ac513ff9.tar.gz
Merge "Set validated_ to true if layer stack is empty" into qt-dev
Diffstat (limited to 'msm8998')
-rw-r--r--msm8998/sdm/libs/hwc2/hwc_display_primary.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/msm8998/sdm/libs/hwc2/hwc_display_primary.cpp b/msm8998/sdm/libs/hwc2/hwc_display_primary.cpp
index be83982e..2c242358 100644
--- a/msm8998/sdm/libs/hwc2/hwc_display_primary.cpp
+++ b/msm8998/sdm/libs/hwc2/hwc_display_primary.cpp
@@ -202,6 +202,7 @@ HWC2::Error HWCDisplayPrimary::Validate(uint32_t *out_num_types, uint32_t *out_n
if (layer_set_.empty()) {
flush_ = true;
+ validated_ = true;
return status;
}