@@ -0,0 +1,604 @@
+package org.robolectric.shadows;%0A%0Aimport static android.os.Build.VERSION_CODES.LOLLIPOP;%0Aimport static android.os.Build.VERSION_CODES.O;%0A%0Aimport android.graphics.FontFamily;%0Aimport org.robolectric.annotation.Implementation;%0Aimport org.robolectric.annotation.Implements;%0A%0A/** Shadow for %7B@link FontFamily%7D */%0A@Implements(value = FontFamily.class, minSdk = LOLLIPOP, isInAndroidSdk = false)%0Apublic class ShadowFontFamily %7B%0A%0A  @Implementation(minSdk = O)%0A  protected static long nInitBuilder(String lang, int variant) %7B%0A    return 1;%0A  %7D%0A%0A  @Implementation(minSdk = O)%0A  protected void abortCreation() %7B%7D%0A%7D%0A

Add dummy behaviour to ShadowFontFamily to prevent NPE on binary resource mode.