From df2375b21a38e2071e4974e7408495338bb05e7b Mon Sep 17 00:00:00 2001 From: Prodyut Hazarika Date: Sun, 29 Jun 2014 18:55:07 -0700 Subject: hwc: disable widi code cleanly BZ: Hwcomposer code does not cleanly separate out Widi code in case Widi is disabled. This results in SurfaceFlinger crash if Widi is disabled Change-Id: I637aba5e6b269f35270c9d6ab5d72cb17ffd6ffb Signed-off-by: Prodyut Hazarika Reviewed-on: https://android.intel.com/217786 Reviewed-by: Strudel, Thierry Reviewed-by: Imberton, Guilhem Tested-by: Imberton, Guilhem --- include/IDisplayDevice.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/IDisplayDevice.h b/include/IDisplayDevice.h index 2e43f59..002f256 100644 --- a/include/IDisplayDevice.h +++ b/include/IDisplayDevice.h @@ -67,7 +67,9 @@ public: enum { DEVICE_PRIMARY = HWC_DISPLAY_PRIMARY, DEVICE_EXTERNAL = HWC_DISPLAY_EXTERNAL, +#ifdef INTEL_WIDI_MERRIFIELD DEVICE_VIRTUAL = HWC_DISPLAY_VIRTUAL, +#endif DEVICE_COUNT, }; enum { -- cgit v1.2.3