Merge "don't automatically unblank external displays" into jb-mr1-dev
This commit is contained in:
commit
c5b58166e8
@ -1212,12 +1212,6 @@ void SurfaceFlinger::handleTransactionLocked(uint32_t transactionFlags)
|
|||||||
state.viewport, state.frame);
|
state.viewport, state.frame);
|
||||||
hw->setDisplayName(state.displayName);
|
hw->setDisplayName(state.displayName);
|
||||||
mDisplays.add(display, hw);
|
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);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user