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

Commit f5aacb87 authored by Alan Viverette's avatar Alan Viverette Committed by Android Git Automerger
Browse files

am 7942be2e: am b68f66c9: am 1e99a383: Merge "Clip windows to their background...

am 7942be2e: am b68f66c9: am 1e99a383: Merge "Clip windows to their background by default" into lmp-dev

* commit '7942be2e8909e1e7e100007da6fa893f677cc223':
  Clip windows to their background by default
parents ddb64b93 cfc94f25
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -3379,6 +3379,9 @@ public class PhoneWindow extends Window implements MenuBuilder.Callback {
            }
            }
            mDecor.setWindowBackground(background);
            mDecor.setWindowBackground(background);


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

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