Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b1c1af46 authored by Huihong Luo's avatar Huihong Luo
Browse files

Remove HDCP abort in Choreographer

HDCP should not be handled here, similar to hotplug events

Bug: 280818362
Test: connect to an external display, and make sure it works
Change-Id: Ia57881bc7f1303965cdb1bd1411f4e0af4a0d93a
parent 9d386604
Loading
Loading
Loading
Loading
+5 −2
Original line number Original line Diff line number Diff line
@@ -344,8 +344,11 @@ void Choreographer::dispatchNullEvent(nsecs_t, PhysicalDisplayId) {
    handleRefreshRateUpdates();
    handleRefreshRateUpdates();
}
}


void Choreographer::dispatchHdcpLevelsChanged(PhysicalDisplayId, int32_t, int32_t) {
void Choreographer::dispatchHdcpLevelsChanged(PhysicalDisplayId displayId, int32_t connectedLevel,
    LOG_ALWAYS_FATAL("dispatchHdcpLevelsChanged was called but was never registered");
                                              int32_t maxLevel) {
    ALOGV("choreographer %p ~ received hdcp levels change event (displayId=%s, connectedLevel=%d, "
          "maxLevel=%d), ignoring.",
          this, to_string(displayId).c_str(), connectedLevel, maxLevel);
}
}


void Choreographer::handleMessage(const Message& message) {
void Choreographer::handleMessage(const Message& message) {