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

* commit '949ea0868de1df7e2f28a32d777cc41f901d6770':
  sf: Clear display configs when hot pluggable display is disconnected
This commit is contained in:
Naseer Ahmed 2014-08-21 02:57:12 +00:00 committed by Android Git Automerger
commit 3e70928f6e

View File

@ -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 {