From 937af9b7136a8b692812bc47eaeb9a3e255c46a5 Mon Sep 17 00:00:00 2001 From: Mathias Agopian Date: Thu, 21 Oct 2010 00:07:32 -0700 Subject: [PATCH] fix part of [Issue 3114236] [Crespo] The order of FLIP_H and ROT_90 is different from other devices there are a typo in hardware.h where FLIP_V and FLIP_H were inverted. this change will probably break all the overlay HALs which implement FLIP_V/H, which thanksfully are not many. Change-Id: Ie824d9a924354d637e44eb6476cb4e5e945c3594 --- include/hardware/overlay.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/hardware/overlay.h b/include/hardware/overlay.h index 42fb014..c56a974 100644 --- a/include/hardware/overlay.h +++ b/include/hardware/overlay.h @@ -54,9 +54,9 @@ enum { /* values for copybit_set_parameter(OVERLAY_TRANSFORM) */ enum { /* flip source image horizontally */ - OVERLAY_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_V, + OVERLAY_TRANSFORM_FLIP_H = HAL_TRANSFORM_FLIP_H, /* flip source image vertically */ - OVERLAY_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_H, + OVERLAY_TRANSFORM_FLIP_V = HAL_TRANSFORM_FLIP_V, /* rotate source image 90 degrees */ OVERLAY_TRANSFORM_ROT_90 = HAL_TRANSFORM_ROT_90, /* rotate source image 180 degrees */ -- 2.11.0