mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Daily arc lint --take GOOGLEJAVAFORMAT
Summary: Changelog: [Internal] Differential Revision: D19875191 fbshipit-source-id: 3a1e22a4342d523f556c847a9fa780a898a96771
This commit is contained in:
committed by
Facebook Github Bot
parent
dc6c57ce0d
commit
ff22722e47
@@ -13,7 +13,6 @@ import static com.facebook.react.modules.systeminfo.AndroidInfoHelpers.getFriend
|
||||
import android.app.Activity;
|
||||
import android.app.Application;
|
||||
import android.content.Context;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import com.facebook.hermes.reactexecutor.HermesExecutorFactory;
|
||||
import com.facebook.infer.annotation.Assertions;
|
||||
@@ -290,7 +289,8 @@ public class ReactInstanceManagerBuilder {
|
||||
mCustomPackagerCommandHandlers);
|
||||
}
|
||||
|
||||
private JavaScriptExecutorFactory getDefaultJSExecutorFactory(String appName, String deviceName, Context applicationContext) {
|
||||
private JavaScriptExecutorFactory getDefaultJSExecutorFactory(
|
||||
String appName, String deviceName, Context applicationContext) {
|
||||
try {
|
||||
// If JSC is included, use it as normal
|
||||
initializeSoLoaderIfNecessary(applicationContext);
|
||||
|
||||
@@ -9,7 +9,6 @@ package com.facebook.react.bridge;
|
||||
|
||||
import android.os.Bundle;
|
||||
import android.os.Parcelable;
|
||||
|
||||
import androidx.annotation.Nullable;
|
||||
import java.lang.reflect.Array;
|
||||
import java.util.AbstractList;
|
||||
|
||||
+1
-2
@@ -86,8 +86,7 @@ public class ReactScrollViewManager extends ViewGroupManager<ReactScrollView>
|
||||
}
|
||||
|
||||
@ReactProp(name = "disableIntervalMomentum")
|
||||
public void setDisableIntervalMomentum(
|
||||
ReactScrollView view, boolean disbaleIntervalMomentum) {
|
||||
public void setDisableIntervalMomentum(ReactScrollView view, boolean disbaleIntervalMomentum) {
|
||||
view.setDisableIntervalMomentum(disbaleIntervalMomentum);
|
||||
}
|
||||
|
||||
|
||||
@@ -81,8 +81,8 @@ public class CustomStyleSpan extends MetricAffectingSpan implements ReactSpan {
|
||||
@Nullable String fontFeatureSettings,
|
||||
@Nullable String family,
|
||||
AssetManager assetManager) {
|
||||
Typeface typeface = ReactTypefaceUtils.applyStyles(
|
||||
paint.getTypeface(), style, weight, family, assetManager);
|
||||
Typeface typeface =
|
||||
ReactTypefaceUtils.applyStyles(paint.getTypeface(), style, weight, family, assetManager);
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) {
|
||||
paint.setFontFeatureSettings(fontFeatureSettings);
|
||||
}
|
||||
|
||||
@@ -93,9 +93,7 @@ public class TextAttributeProps {
|
||||
*/
|
||||
protected @Nullable String mFontFamily = null;
|
||||
|
||||
/**
|
||||
* @see android.graphics.Paint#setFontFeatureSettings
|
||||
*/
|
||||
/** @see android.graphics.Paint#setFontFeatureSettings */
|
||||
protected @Nullable String mFontFeatureSettings = null;
|
||||
|
||||
protected boolean mContainsImages = false;
|
||||
|
||||
Reference in New Issue
Block a user