composer: Add getDisplayConnectionType

Distinguish between internal and external displays, to obviate assuming
that the first display is internal and subsequent displays are external.

Note that connector types (e.g. DSI, HDMI, DisplayPort) are not enumerated,
since that information is irrelevant for internal connections, and can be
extracted from the EDID for external connections in the few cases where it
matters, e.g. gating features like daisy chaining and content protection.

Bug: 134771872
Test: Build
Change-Id: I8a27e4ef569626620711910fcbaed5a7e12e6870
This commit is contained in:
Dominik Laskowski
2019-09-19 15:50:09 -07:00
parent 5d16469e7c
commit ce44a4b363
9 changed files with 78 additions and 8 deletions

View File

@@ -204,7 +204,7 @@
</hal>
<hal format="hidl" optional="false">
<name>android.hardware.graphics.composer</name>
<version>2.1-3</version>
<version>2.1-4</version>
<interface>
<name>IComposer</name>
<instance>default</instance>