hwc: Invalidate on receiving PANEL_ALIVE=0 status
Invalidate on receiving PANEL_ALIVE=0 status, otherwise
during static wallpaper, panel will be reset only after
next screen update.
Change-Id: I6f5264367c8bd889b9103ed74641ac4a60538b57
CRs-Fixed: 591454
diff --git a/libhwcomposer/hwc_uevents.cpp b/libhwcomposer/hwc_uevents.cpp
index 10afc92..51e5526 100644
--- a/libhwcomposer/hwc_uevents.cpp
+++ b/libhwcomposer/hwc_uevents.cpp
@@ -121,6 +121,7 @@
{
bool bpanelReset = getPanelResetStatus(ctx, udata, len);
if (bpanelReset) {
+ ctx->proc->invalidate(ctx->proc);
return;
}