Merge "Fixing preview for newly created folder not getting clipped properly." into ub-launcher3-dorval-polish
This commit is contained in:
commit
2d8f6f0050
|
@ -306,6 +306,7 @@ public class PreviewBackground {
|
|||
// It is the callers responsibility to save and restore the canvas layers.
|
||||
void clipCanvasHardware(Canvas canvas) {
|
||||
mPaint.setColor(Color.BLACK);
|
||||
mPaint.setStyle(Paint.Style.FILL);
|
||||
mPaint.setXfermode(mClipPorterDuffXfermode);
|
||||
|
||||
float radius = getScaledRadius();
|
||||
|
@ -336,6 +337,7 @@ public class PreviewBackground {
|
|||
}
|
||||
|
||||
mDrawingDelegate = null;
|
||||
isClipping = true;
|
||||
invalidate();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue