commit | 4f0064fa3448c95e116a8d5646547a7a0fa8a432 | [log] [tgz] |
---|---|---|
author | Raph Levien <raph@google.com> | Wed Nov 06 11:12:11 2013 -0800 |
committer | Raph Levien <raph@google.com> | Wed Nov 06 11:16:01 2013 -0800 |
tree | c801159ccd2545cd3d4b403a4fa4191c21361483 | |
parent | a80d6424987602cc3141d4cb4cdee21a54747691 [diff] |
Fix for Typeface.create(Typeface, style) semantics changed in KK This is a fix for bug 11553661. The "closest match" heuristic for resolving a typeface when an exact match was not found changed between JB MR2 and KK, resulting in loss of custom typeface when StyleSpan was applied. This patch reinstates the logic that had been present. Also reported externally as: https://code.google.com/p/android/issues/detail?id=61771 Change-Id: Ia432fca07c4bf3b830ee2487cd8f5267a9cfb7ff