Commit 3e37712b 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 ff0028d1
Loading
Loading
Loading
Loading
+7 −0
Original line number Original line Diff line number Diff line
@@ -303,6 +303,13 @@ Maybe<bool> nsRFPService::HandleExeptionalRFPTargets(
                StaticPrefs::privacy_spoof_english_DoNotUseDirectly() == 2);
                StaticPrefs::privacy_spoof_english_DoNotUseDirectly() == 2);
  }
  }


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

  return Nothing();
  return Nothing();
}
}