diff options
author | Jeff Brown <jeffbrown@google.com> | 2013-04-17 17:24:09 -0700 |
---|---|---|
committer | Jeff Brown <jeffbrown@google.com> | 2013-04-17 17:28:42 -0700 |
commit | 1875efea0645f386396ef45dd75f63a1af5223bb (patch) | |
tree | bac565bc493e2c1d1b94b8f3eb1b2aca8f8cf981 /overlay | |
parent | 9628c9258a23f32aa861c4d90996d2cff13fbbda (diff) | |
download | device_samsung_tuna-1875efea0645f386396ef45dd75f63a1af5223bb.zip device_samsung_tuna-1875efea0645f386396ef45dd75f63a1af5223bb.tar.gz device_samsung_tuna-1875efea0645f386396ef45dd75f63a1af5223bb.tar.bz2 |
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
Diffstat (limited to 'overlay')
-rw-r--r-- | overlay/frameworks/base/core/res/res/values/config.xml | 1 |
1 files changed, 1 insertions, 0 deletions
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 @@ <!-- Our amoled doesn't animate well. --> <bool name="config_animateScreenLights">false</bool> + <integer name="config_undockedHdmiRotation">90</integer> <integer name="config_deskDockKeepsScreenOn">0</integer> <integer name="config_carDockKeepsScreenOn">1</integer> <bool name="config_deskDockEnablesAccelerometer">true</bool> |