diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java index c4d42eb13f0d6a..39e53d255fa3df 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/views/textinput/ReactEditText.java @@ -273,7 +273,9 @@ public boolean onKeyUp(int keyCode, KeyEvent event) { @Override public void setLineHeight(int lineHeight) { mTextAttributes.setLineHeight(lineHeight); - super.setLineHeight(lineHeight); + if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) { + super.setLineHeight(lineHeight); + } } @Override