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

Commit 545fc92c authored by Vishnu Nair's avatar Vishnu Nair
Browse files

Enable compositor shadows

Composition strategy has been fixed in R. This enables the
change in master.

Fixes: 165076424

Change-Id: I710ee561da66c84d018ce93882d8594080e87280
parent b77bc9be
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, 0) != 0;
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 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, 0) != 0;
                DEVELOPMENT_RENDER_SHADOWS_IN_COMPOSITOR, 1) != 0;
    }

    PowerManager mPowerManager;