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

Commit 57171ed1 authored by Android Build Merger (Role)'s avatar Android Build Merger (Role) Committed by Android (Google) Code Review
Browse files

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

Merge "Merge "Always update DimLayer bounds when starting dim." into nyc-dev am: 8dd32a56 am: b00d3f7d" into nyc-mr1-dev-plus-aosp
parents 06e8b59a 4039a99b
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);
        }
    }