From c82c89edc76667d2d39f5327bffd3c9b7cf04d9f Mon Sep 17 00:00:00 2001 From: Jeff Brown Date: Wed, 17 Apr 2013 17:18:15 -0700 Subject: [PATCH] Add a config resource to force HDMI rotation on some devices. If the hardware composer HAL does not provide full support for multiple displays, it may be necessary to force the HDMI rotation when not docked. (When docked, we can use the dock's orientation.) This configuration is not expected to be used on newer devices with the requisite HAL support and may be removed in the future. Bug: 8511721 Change-Id: I1ff50f00ee7fe621aceff94bd938ecf6385c3f38 --- core/res/res/values/config.xml | 6 ++++ core/res/res/values/symbols.xml | 1 + .../policy/impl/PhoneWindowManager.java | 31 +++++++++++++------ 3 files changed, 28 insertions(+), 10 deletions(-) diff --git a/core/res/res/values/config.xml b/core/res/res/values/config.xml index cc50d8a90875c..84e300a112c68 100644 --- a/core/res/res/values/config.xml +++ b/core/res/res/values/config.xml @@ -345,6 +345,12 @@ A value of -1 means no change in orientation by default. --> -1 + + -1 +