Fix the layoutlib Paint.set(Paint) method. Do not merge.

It would change the text rendering info but not recompute
the Java Font objects. The effect is a broken font rendering
in the EditText (which use this method to copy some Paint
object before using the copy for the actual drawing)

Change-Id: I9e7fbf9bd57b421fd793876a6de4ade1ecac372d
This commit is contained in:
Xavier Ducrohet
2010-07-16 16:46:39 -07:00
parent 7203272f35
commit 80e62ac61c

View File

@@ -283,6 +283,8 @@ public class Paint extends _Original_Paint {
mStyle = src.mStyle;
mFlags = src.mFlags;
updateFontObject();
super.set(src);
}
}