setShouldLoadFontSynchronously

Specifies whether font resources should be loaded synchronously. By default, they are loaded asynchronously to avoid ANR. Preload font resources and set this to true in emulator / instrumentation tests to avoid flakiness.