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

Commit b77bc9be authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Revert "Enable compositor shadows for PIP"

This reverts commit 1f03c501.

Reason for revert: client composition in pixel4 doesn't behave as expected. Multiple layers including pip and wallpaper are selected for client composition. 

Change-Id: I3d6be8b9b1768aeda35411b45b426c83a7379e36
parent 1f03c501
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -335,7 +335,7 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
        super(context);
        mLayoutInflater = LayoutInflater.from(context);
        mRenderShadowsInCompositor = Settings.Global.getInt(context.getContentResolver(),
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 0;
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 0) != 0;
    }

    /**
+1 −1
Original line number Diff line number Diff line
@@ -887,7 +887,7 @@ public class WindowManagerService extends IWindowManager.Stub

    private void setShadowRenderer() {
        mRenderShadowsInCompositor = Settings.Global.getInt(mContext.getContentResolver(),
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 0;
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 0) != 0;
    }

    PowerManager mPowerManager;