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

Commit 07470537 authored by Alan Viverette's avatar Alan Viverette
Browse files

Clip windows to their background by default

BUG: 16549166
Change-Id: I4ed0f60316df02b6ee56e163ad25e27e1396a6ae
parent 886de6d1
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -3379,6 +3379,9 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
            }
            mDecor.setWindowBackground(background);

            // By default, clip content to the background outline.
            mDecor.setClipToOutline(true);

            final Drawable frame;
            if (mFrameResource != 0) {
                frame = getContext().getDrawable(mFrameResource);