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
1 file changed