Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 418bf7f7 authored by Rob Carr's avatar Rob Carr Committed by android-build-merger
Browse files

Merge "Always update DimLayer bounds when starting dim." into nyc-dev am: 8dd32a56

am: ab93e265

* commit 'ab93e265':
  Always update DimLayer bounds when starting dim.

Change-Id: Ic8f24feb33f8e362d60d8339cfb59d04632cd665
parents 0e9e8fa6 ab93e265
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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);
        }
    }