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

Commit 10b89dc5 authored by Jorim Jaggi's avatar Jorim Jaggi
Browse files

Do not pass invalid bounds for dim layer #2

Bug: 26396656
Change-Id: Icb0419489a1b7a756a4622383c4c2462ee0d8d90
parent 7b371ddf
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -175,7 +175,7 @@ public class DockedStackDividerController implements DimLayerUser {
        boolean visibleAndValid = visible && stack != null;
        if (visibleAndValid) {
            stack.getDimBounds(mTmpRect);
            if (mTmpRect.height() > 0) {
            if (mTmpRect.height() > 0 && mTmpRect.width() > 0) {
                mDimLayer.setBounds(mTmpRect);
                mDimLayer.show(mDisplayContent.mService.mLayersController.getResizeDimLayer(),
                        alpha, 0 /* duration */);