Merge "don't automatically unblank external displays" into jb-mr1-dev

This commit is contained in:
Jeff Brown 2012-10-09 16:50:55 -07:00 committed by Android (Google) Code Review
commit c5b58166e8

View File

@ -1212,12 +1212,6 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
state.viewport, state.frame);
hw->setDisplayName(state.displayName);
mDisplays.add(display, hw);
if (hw->getDisplayType() < DisplayDevice::NUM_DISPLAY_TYPES) {
// notify the system that this display is now up
// (note onScreenAcquired() is safe to call from
// here because we're in the main thread)
onScreenAcquired(hw);
}
}
}
}