Skip to content

Commit f4e495b

Browse files
authored
Move livemarkdown namespace to expensify namespace on Android (#640)
1 parent 59f8603 commit f4e495b

File tree

5 files changed

+9
-1
lines changed

5 files changed

+9
-1
lines changed

android/src/main/new_arch/MarkdownCommitHook.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
using namespace facebook;
1010
using namespace react;
1111

12+
namespace expensify {
1213
namespace livemarkdown {
1314

1415
MarkdownCommitHook::MarkdownCommitHook(
@@ -188,3 +189,4 @@ RootShadowNode::Unshared MarkdownCommitHook::shadowTreeWillCommit(
188189
}
189190

190191
} // namespace livemarkdown
192+
} // namespace expensify

android/src/main/new_arch/MarkdownCommitHook.h

+2
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
using namespace facebook;
1616
using namespace react;
1717

18+
namespace expensify {
1819
namespace livemarkdown {
1920

2021
struct MarkdownTextInputDecoratorPair {
@@ -54,3 +55,4 @@ class MarkdownCommitHook : public UIManagerCommitHook {
5455
};
5556

5657
} // namespace livemarkdown
58+
} // namespace expensify

android/src/main/new_arch/NativeProxy.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66

77
#include "NativeProxy.h"
88

9+
namespace expensify {
910
namespace livemarkdown {
1011

1112
using namespace facebook;
@@ -36,3 +37,4 @@ NativeProxy::initHybrid(jni::alias_ref<jhybridobject> jThis) {
3637
}
3738

3839
} // namespace livemarkdown
40+
} // namespace expensify

android/src/main/new_arch/NativeProxy.h

+2
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
#include "MarkdownCommitHook.h"
99

10+
namespace expensify {
1011
namespace livemarkdown {
1112

1213
using namespace facebook;
@@ -35,3 +36,4 @@ class NativeProxy : public jni::HybridClass<NativeProxy> {
3536
};
3637

3738
} // namespace livemarkdown
39+
} // namespace expensify

android/src/main/new_arch/OnLoad.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44

55
JNIEXPORT jint JNICALL JNI_OnLoad(JavaVM *vm, void *) {
66
return facebook::jni::initialize(
7-
vm, [] { livemarkdown::NativeProxy::registerNatives(); });
7+
vm, [] { expensify::livemarkdown::NativeProxy::registerNatives(); });
88
}

0 commit comments

Comments
 (0)