Merge "Cache Downloaded Fonts in Typeface"
This commit is contained in:
committed by
Android (Google) Code Review
commit
5edceec2cc
@@ -753,7 +753,7 @@ public class ResourcesImpl {
|
||||
}
|
||||
|
||||
final String file = value.string.toString();
|
||||
Typeface cached = Typeface.createFromCache(mAssets, file);
|
||||
Typeface cached = Typeface.findFromCache(mAssets, file);
|
||||
if (cached != null) {
|
||||
return cached;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user