Verified Commit 8b5021c9 authored by Dan Ballard's avatar Dan Ballard Committed by ma1
Browse files

TB 43006: Disable RFP for Font Visibility on Android

parent a7343ae3
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();
}