• Fabrice Di Meglio's avatar
    Fix bugs with duplicate fallback fonts. · 127ddb8a
    Fabrice Di Meglio authored
    Cleaned up the system font and fallback font list
    memory management using smart arrays.
    
    Cleaned up the addition and removal of font records from
    the font family lists.  Previously, list insertion was occurring
    when the typeface was constructed, which obscured much of the logic.
    
    Bug #6406249 SystemUI crashed when changing Locale
    
    Change-Id: I3e33f7868f1b0a6835b91652652a457799d991d5
    127ddb8a
SkFontHost_android.cpp 31.8 KB