From d17006b60d6babe81237bd250708c9951ac802a2 Mon Sep 17 00:00:00 2001 From: Andrew Datsenko Date: Mon, 8 Apr 2024 08:06:18 -0700 Subject: [PATCH] Update package com.facebook.react.perflogger -> com.facebook.react.reactperflogger (#43873) Summary: Changelog: [Internal] Addressing lint for package name com.facebook.react.perflogger Reviewed By: alanleedev Differential Revision: D55747967 --- packages/react-native/ReactAndroid/api/ReactAndroid.api | 2 +- .../react/internal/turbomodule/core/TurboModulePerfLogger.java | 2 +- .../facebook/react/reactperflogger/NativeModulePerfLogger.kt | 2 +- .../reactperflogger/reactperflogger/JNativeModulePerfLogger.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/react-native/ReactAndroid/api/ReactAndroid.api b/packages/react-native/ReactAndroid/api/ReactAndroid.api index 198e3947bb46c3..07a7ec6af62e95 100644 --- a/packages/react-native/ReactAndroid/api/ReactAndroid.api +++ b/packages/react-native/ReactAndroid/api/ReactAndroid.api @@ -3627,7 +3627,7 @@ public abstract interface class com/facebook/react/packagerconnection/Responder public abstract fun respond (Ljava/lang/Object;)V } -public abstract class com/facebook/react/perflogger/NativeModulePerfLogger { +public abstract class com/facebook/react/reactperflogger/NativeModulePerfLogger { protected fun ()V protected abstract fun initHybrid ()Lcom/facebook/jni/HybridData; protected final fun maybeLoadOtherSoLibraries ()V diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModulePerfLogger.java b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModulePerfLogger.java index 9a9f198ba624f9..a452acf82e574b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModulePerfLogger.java +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/internal/turbomodule/core/TurboModulePerfLogger.java @@ -9,7 +9,7 @@ import com.facebook.infer.annotation.Nullsafe; import com.facebook.proguard.annotations.DoNotStrip; -import com.facebook.react.perflogger.NativeModulePerfLogger; +import com.facebook.react.reactperflogger.NativeModulePerfLogger; import javax.annotation.Nullable; @Nullsafe(Nullsafe.Mode.LOCAL) diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.kt index ad9d3ce9450c8e..993cd48812054b 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/reactperflogger/NativeModulePerfLogger.kt @@ -5,7 +5,7 @@ * LICENSE file in the root directory of this source tree. */ -package com.facebook.react.perflogger +package com.facebook.react.reactperflogger import com.facebook.jni.HybridData import com.facebook.soloader.SoLoader diff --git a/packages/react-native/ReactAndroid/src/main/jni/react/reactperflogger/reactperflogger/JNativeModulePerfLogger.h b/packages/react-native/ReactAndroid/src/main/jni/react/reactperflogger/reactperflogger/JNativeModulePerfLogger.h index 0ae39b952a8430..3081409afd832d 100644 --- a/packages/react-native/ReactAndroid/src/main/jni/react/reactperflogger/reactperflogger/JNativeModulePerfLogger.h +++ b/packages/react-native/ReactAndroid/src/main/jni/react/reactperflogger/reactperflogger/JNativeModulePerfLogger.h @@ -17,7 +17,7 @@ class JNativeModulePerfLogger : public jni::HybridClass { public: static auto constexpr kJavaDescriptor = - "Lcom/facebook/react/perflogger/NativeModulePerfLogger;"; + "Lcom/facebook/react/reactperflogger/NativeModulePerfLogger;"; virtual std::unique_ptr get() = 0;