Loading
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