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

* commit '3e70928f6e3cd46eb82c02c1cc5fccfd0378bb75':
  sf: Clear display configs when hot pluggable display is disconnected
This commit is contained in:
Naseer Ahmed 2014-08-21 04:14:37 +00:00 committed by Android Git Automerger
commit 62914ce664

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 {