Commit ba521379 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 979c4a54
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -311,6 +311,13 @@ Maybe<bool> nsRFPService::HandleExceptionalRFPTargets(
                StaticPrefs::privacy_spoof_english_DoNotUseDirectly() == 2);
  }

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

  return Nothing();
}