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

Commit 84add1de authored by Adam Cohen's avatar Adam Cohen
Browse files

Fix issue where custom content pops in (issue 11209357)

Change-Id: Ibb40505ac25d59add0b405a1b2ac48a9778314d3
parent 2ac85a6d
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1446,6 +1446,12 @@ public class Workspace extends SmoothPagedView
        }

        if (Float.compare(progress, mLastCustomContentScrollProgress) == 0) return;

        CellLayout cc = mWorkspaceScreens.get(CUSTOM_CONTENT_SCREEN_ID);
        if (progress > 0 && cc.getVisibility() != VISIBLE && !isSmall()) {
            cc.setVisibility(VISIBLE);
        }

        mLastCustomContentScrollProgress = progress;

        setBackgroundAlpha(progress * 0.8f);