sdm: Update secure_present flag when secure display is present
Update secure_present flag during secure display, as this flag has
been referenced to avoid CWB dump.
Change-Id: Ic3985c398d3bd4827677b1ad6a7b188f7e6bb39a
diff --git a/composer/hwc_display.cpp b/composer/hwc_display.cpp
index 3c15648..2f29ada 100644
--- a/composer/hwc_display.cpp
+++ b/composer/hwc_display.cpp
@@ -721,6 +721,7 @@
}
if (layer->input_buffer.flags.secure_display) {
+ layer_stack_.flags.secure_present = true;
is_secure = true;
}