Merge "Always update DimLayer bounds when starting dim." into nyc-dev
am: 8dd32a5
* commit '8dd32a56f74b896b21895ec75d58fa415caa2c70':
Always update DimLayer bounds when starting dim.
Change-Id: I913e0dea8e3064c0f421f372331aff02b2d2e1f1
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user