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

Commit ab93e265 authored by Robert Carr's avatar Robert Carr Committed by android-build-merger
Browse files

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

am: 8dd32a56

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

Change-Id: I913e0dea8e3064c0f421f372331aff02b2d2e1f1
parents 4efc8fa0 8dd32a56
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);
        }
    }