diff options
author | 2025-01-21 16:04:55 -0500 | |
---|---|---|
committer | 2025-01-23 18:58:13 -0500 | |
commit | ba6afd88da6fbd18b0d8db8a85659b380d1b602b (patch) | |
tree | cd86703ad4902f05d7a5a114d5d6cdc55b560559 /libs/ui/DisplayIdentification.cpp | |
parent | 5aab65d9b21681758a4c76fd00b3f7877995a9c1 (diff) |
libs/ui: Remove getManufacturerId() from DisplayId
There are currently no clients of DisplayId who use getManufacturerId().
This CL removes the parsing and serving of the manufacturer's ID from
DisplayID's API, together with the only client
getPnpId(PhysicalDisplayId), which also isn't use in real use cases
(only tests).
See: go/edid-display-ids-al13
Flag: com.android.graphics.surfaceflinger.flags.stable_edid_ids
Bug: 390689046
Test: Display{Id|Identification} & libsurfaceflinger_unittest
Change-Id: I03db2f6d71b32fcb387e99d9bc2730ab21760012
Diffstat (limited to 'libs/ui/DisplayIdentification.cpp')
-rw-r--r-- | libs/ui/DisplayIdentification.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libs/ui/DisplayIdentification.cpp b/libs/ui/DisplayIdentification.cpp index c9f0761a01..ee38f5044c 100644 --- a/libs/ui/DisplayIdentification.cpp +++ b/libs/ui/DisplayIdentification.cpp @@ -392,10 +392,6 @@ std::optional<PnpId> getPnpId(uint16_t manufacturerId) { return a && b && c ? std::make_optional(PnpId{a, b, c}) : std::nullopt; } -std::optional<PnpId> getPnpId(PhysicalDisplayId displayId) { - return getPnpId(displayId.getManufacturerId()); -} - std::optional<DisplayIdentificationInfo> parseDisplayIdentificationData( uint8_t port, const DisplayIdentificationData& data) { if (data.empty()) { |