hwc: Invalidate at the end of VDS pause
* On Low-end targets, no secure video is displayed on primary
during WFD session due to lack of VG pipes.
* Once the secure video is paused, and WFD session is paused
from sink, paused secure video should be seen on the primary
due to the availability of VG pipes(which are no longer used
by external)
* Call invalidate at the end of VDS pause to make this happen.
Change-Id: Ia735be10e798b6a241a82239e3a136efb54e72f3
diff --git a/libhwcomposer/hwc_virtual.cpp b/libhwcomposer/hwc_virtual.cpp
index df471a6..adda35b 100644
--- a/libhwcomposer/hwc_virtual.cpp
+++ b/libhwcomposer/hwc_virtual.cpp
@@ -234,6 +234,7 @@
ALOGE("%s: display commit fail! for %d dpy",
__FUNCTION__, dpy);
}
+ ctx->proc->invalidate(ctx->proc);
}
return;
}