Merge "Clip windows to their background by default" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ccf9fca471
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user