@@ -0,0 +1,574 @@
+package org.robolectric.shadows;%0A%0Aimport static android.os.Build.VERSION_CODES.O;%0A%0Aimport android.graphics.Typeface;%0Aimport android.provider.FontRequest;%0Aimport android.provider.FontsContract;%0Aimport org.robolectric.annotation.Implementation;%0Aimport org.robolectric.annotation.Implements;%0A%0A@Implements(value = FontsContract.class, minSdk = O)%0Apublic class ShadowFontsContract %7B%0A%0A  /** Returns a stub typeface immediately. */%0A  @Implementation%0A  public static Typeface getFontSync(FontRequest request) %7B%0A    return Typeface.create(request.getQuery(), Typeface.NORMAL);%0A  %7D%0A%7D%0A

Fix timeout in FontsContract.getFontSync() caused because Context.canLoadUnsafeResources() now returns false since the context isn't a system context.