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

Commit 83dbc87b authored by Yash Garg's avatar Yash Garg 💬 Committed by Mohammed Althaf T
Browse files

feat(workspace): hide scrim shadow layer on launcher root view

parent 5ee03387
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -41,6 +41,8 @@ import com.android.launcher3.util.ScreenOnTracker;
import com.android.launcher3.util.ScreenOnTracker.ScreenOnListener;
import com.android.launcher3.util.Themes;

import foundation.e.bliss.multimode.MultiModeController;

/**
 * View scrim which draws behind hotseat and workspace
 */
@@ -118,7 +120,7 @@ public class SysUiScrim implements View.OnAttachStateChangeListener {
     * Draw the top and bottom scrims
     */
    public void draw(Canvas canvas) {
        if (!mHideSysUiScrim) {
        if (!mHideSysUiScrim && !MultiModeController.isSingleLayerMode()) {
            if (mSysUiProgress.value <= 0) {
                mAnimateScrimOnNextDraw = false;
                return;