@SuppressLint({
    "BadMethodUse-android.os.HandlerThread._Constructor",
    "BadMethodUse-java.lang.Thread.start"
  })
  private WarmHandler getWarmHandler() {
    if (sWarmHandler == null) {
      // A text warmer thread to render the the layout in the background.
      // This helps warm the layout cache in Android 4.0+ devices,
      // making large blurbs of text to draw in 0ms.
      HandlerThread warmerThread = new HandlerThread("GlyphWarmer");
      warmerThread.start();

      // Note: warmerThread.getLooper() can return null.
      // NULLSAFE_FIXME[Parameter Not Nullable]
      sWarmHandler = new WarmHandler(warmerThread.getLooper());
    }

    return sWarmHandler;
  }
Default {@link GlyphWarmer} that runs a {@link HandlerThread} to draw a text {@link Layout} on a
{@link Picture}. This helps in warming up the FreeType cache in Android 4.0+.
library/src/main/java/com/facebook/fbui/textlayoutbuilder/glyphwarmer/GlyphWarmerImpl.java