Merge "Fix bug #10205316 CTS (KLP): android.graphics tests are failing" into klp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
5af4edef08
@@ -431,6 +431,8 @@ public class Paint {
|
|||||||
mRasterizer = paint.mRasterizer;
|
mRasterizer = paint.mRasterizer;
|
||||||
if (paint.mShader != null) {
|
if (paint.mShader != null) {
|
||||||
mShader = paint.mShader.copy();
|
mShader = paint.mShader.copy();
|
||||||
|
} else {
|
||||||
|
mShader = null;
|
||||||
}
|
}
|
||||||
mTypeface = paint.mTypeface;
|
mTypeface = paint.mTypeface;
|
||||||
mXfermode = paint.mXfermode;
|
mXfermode = paint.mXfermode;
|
||||||
|
|||||||
Reference in New Issue
Block a user