Commit 3939b2e4 authored by Dan Ballard's avatar Dan Ballard Committed by Pier Angelo Vendrame
Browse files

TB 43006: Disable RFP for Font Visibility on Android

parent a6b9b802
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -303,6 +303,13 @@ Maybe<bool> nsRFPService::HandleExeptionalRFPTargets(
                StaticPrefs::privacy_spoof_english_DoNotUseDirectly() == 2);
  }

#ifdef ANDROID
  if (aTarget == RFPTarget::FontVisibilityBaseSystem ||
      aTarget == RFPTarget::FontVisibilityLangPack) {
    return Some(false);
  }
#endif

  return Nothing();
}