Merge "Always update DimLayer bounds when starting dim." into nyc-dev

This commit is contained in:
Rob Carr
2016-04-18 18:10:56 +00:00
committed by Android (Google) Code Review

View File

@@ -149,8 +149,10 @@ class DimLayerController {
if (state.animator.mWin.mAppToken == null && !dimLayerUser.isFullscreen()) {
// Dim should cover the entire screen for system windows.
mDisplayContent.getLogicalDisplayRect(mTmpBounds);
state.dimLayer.setBounds(mTmpBounds);
} else {
dimLayerUser.getDimBounds(mTmpBounds);
}
state.dimLayer.setBounds(mTmpBounds);
}
}