LeOSium_old/patches/0001-Vanadium/0077-disable-using-Play-ser...

23 lines
1.3 KiB
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Daniel Micay <danielmicay@gmail.com>
Date: Wed, 1 Sep 2021 02:09:14 -0400
Subject: [PATCH] disable using Play services fonts
---
.../chromium/content/browser/font/AndroidFontLookupImpl.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java b/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
index faeb88e2de254..9da1f71b033f4 100644
--- a/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/font/AndroidFontLookupImpl.java
@@ -177,7 +177,7 @@ public class AndroidFontLookupImpl implements AndroidFontLookup {
* @param fontUniqueName The ICU case folded unique full font name to fetch.
*/
private ReadOnlyFile fetchFontInBackground(String fontUniqueName, Core core) {
- ParcelFileDescriptor fileDescriptor = tryFetchFont(fontUniqueName);
+ ParcelFileDescriptor fileDescriptor = null;
if (fileDescriptor == null) {
// Avoid re-requesting this font in future.
mExpectedFonts.remove(fontUniqueName);