Merge "HWC2On1Adapter: Fix fd leak in Layer::dump"

am: 2e38b2c0f6

Change-Id: I347beecd5bf383426e7637c13bb59a2b2e5a9dd0
This commit is contained in:
android-build-prod (mdb)
2018-04-27 11:36:19 -07:00
committed by android-build-merger

View File

@@ -2094,8 +2094,7 @@ std::string HWC2On1Adapter::Layer::dump() const {
} else if (mCompositionType == HWC2::Composition::Sideband) {
output << " Handle: " << mSidebandStream << '\n';
} else {
output << " Buffer: " << mBuffer.getBuffer() << "/" <<
mBuffer.getFence() << '\n';
output << " Buffer: " << mBuffer.getBuffer() << '\n';
output << fill << " Display frame [LTRB]: " <<
rectString(mDisplayFrame) << '\n';
output << fill << " Source crop: " <<