From: Christopher N. Hesse Date: Sat, 11 Nov 2017 12:20:45 +0000 (+0100) Subject: vppvirtualdisplay: Ifdef HWC_SCREENSHOT_ANIMATOR_LAYER X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=1595d47acc7ee4841ea99bdf36db6af1cd2f1d91;p=GitHub%2FLineageOS%2Fandroid_hardware_samsung_slsi_exynos.git vppvirtualdisplay: Ifdef HWC_SCREENSHOT_ANIMATOR_LAYER Change-Id: Ia4bf7820b742739e39f2f183c9dd1de983601dc7 --- diff --git a/libvppvirtualdisplay/ExynosVirtualDisplay.cpp b/libvppvirtualdisplay/ExynosVirtualDisplay.cpp index a2404b1..18d3065 100644 --- a/libvppvirtualdisplay/ExynosVirtualDisplay.cpp +++ b/libvppvirtualdisplay/ExynosVirtualDisplay.cpp @@ -604,6 +604,7 @@ void ExynosVirtualDisplay::determineYuvOverlay(hwc_display_contents_1_t *content } #endif +#ifdef HWC_SCREENSHOT_ANIMATOR_LAYER /* find rotation animation layer */ for (size_t i = 0; i < contents->numHwLayers; i++) { hwc_layer_1_t &layer = contents->hwLayers[i]; @@ -614,6 +615,7 @@ void ExynosVirtualDisplay::determineYuvOverlay(hwc_display_contents_1_t *content return; } } +#endif private_handle_t *outBufHandle = private_handle_t::dynamicCast(contents->outbuf); if (outBufHandle == NULL) {