From 35bec0b0bf8c1de83c6489f9e10cd08db4ef9060 Mon Sep 17 00:00:00 2001 From: Prashant Surana Date: Tue, 25 Sep 2012 16:30:07 +0530 Subject: [PATCH] libhwcomposer: Fix bug caused by change 152124 The change in 152124 makes the yuvLayerIndex equal to the pipLayerIndex because of which overlay is used only for the pip video and not the main video. Removing the assignment operation since that is updated when yuvCount is 1. Change-Id: I4a96a0e57c43e2c4888d3497229a9a24dde2ca27 --- libhwcomposer/hwc_utils.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/libhwcomposer/hwc_utils.cpp b/libhwcomposer/hwc_utils.cpp index ac6e428..eaaf9d3 100644 --- a/libhwcomposer/hwc_utils.cpp +++ b/libhwcomposer/hwc_utils.cpp @@ -154,7 +154,6 @@ void getLayerStats(hwc_context_t *ctx, const hwc_layer_list_t *list) //second video pipLayerIndex = i; } - yuvLayerIndex = i; yuvSecure = isSecureBuffer(hnd); //Animating //Do not mark as SKIP if it is secure buffer