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

Commit 3e70928f authored by Naseer Ahmed's avatar Naseer Ahmed Committed by Android Git Automerger
Browse files

am 949ea086: sf: Clear display configs when hot pluggable display is disconnected

* commit '949ea086':
  sf: Clear display configs when hot pluggable display is disconnected
parents 11cec5a0 949ea086
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -799,6 +799,9 @@ void HWComposer::disconnectDisplay(int disp) {
    dd.lastRetireFence = Fence::NO_FENCE;
    dd.lastDisplayFence = Fence::NO_FENCE;
    dd.outbufAcquireFence = Fence::NO_FENCE;
    // clear all the previous configs and repopulate when a new
    // device is added
    dd.configs.clear();
}

int HWComposer::getVisualID() const {