From 1875efea0645f386396ef45dd75f63a1af5223bb Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Wed, 17 Apr 2013 17:24:09 -0700 Subject: Override HDMI rotation when undocked. The hardware composer HAL does not fully support multiple displays so we must force the orientation to landscape when plugged into HDMI and not docked so that mirrored framebuffer content appears in the correct orientation on the display. Note that when plugged into a portrait dock with HDMI, the HAL disables mirroring of the framebuffer and instead only mirrors video surfaces and internally transforms them to landscape orientation. Bug: 8511721 Change-Id: I11248daade288e774b446ec1482dbac745d8aa62 --- overlay/frameworks/base/core/res/res/values/config.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/overlay/frameworks/base/core/res/res/values/config.xml b/overlay/frameworks/base/core/res/res/values/config.xml index 2cd1c67..4ad6456 100644 --- a/overlay/frameworks/base/core/res/res/values/config.xml +++ b/overlay/frameworks/base/core/res/res/values/config.xml @@ -33,6 +33,7 @@ false + 90 0 1 true -- cgit v1.1