From 445f03a0c393fc70f74e9476cde67a71c99ab5ac Mon Sep 17 00:00:00 2001 From: fabriziobertoglio1987 Date: Wed, 1 Jul 2020 09:08:38 +0200 Subject: [PATCH] avoid error on android < 23 setHyphenationFrequency --- .../react/views/text/ReactTextAnchorViewManager.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java index 4fdbd76ababee3..9a1c5148563555 100644 --- a/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java +++ b/ReactAndroid/src/main/java/com/facebook/react/views/text/ReactTextAnchorViewManager.java @@ -7,6 +7,7 @@ package com.facebook.react.views.text; +import android.os.Build; import android.text.Layout; import android.text.Spannable; import android.text.TextUtils; @@ -23,6 +24,7 @@ import com.facebook.react.uimanager.annotations.ReactProp; import com.facebook.react.uimanager.annotations.ReactPropGroup; import com.facebook.yoga.YogaConstants; +import com.facebook.common.logging.FLog; /** * Abstract class for anchor {@code }-ish spannable views, such as {@link TextView} or {@link @@ -39,6 +41,7 @@ public abstract class ReactTextAnchorViewManager