File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed
packages/rn-tester/android/app/src/main/java/com/facebook/react Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 7
7
8
8
package com.facebook.react
9
9
10
+ import android.app.Application
10
11
import java.io.PrintWriter
11
12
12
- object FBEndToEndDumpsysHelper {
13
+ object FBRNTesterEndToEndHelper {
14
+ fun onCreate (application : Application ) {
15
+ // no-op This is an empty implementation to stub out Meta's internal test coverage
16
+ // instrumentation.
17
+ }
18
+
13
19
fun maybeDump (prefix : String , writer : PrintWriter , args : Array <String >? ) {
14
20
// no-op This is an empty implementation to stub out Meta's internal dumpsys helper.
15
21
}
Original file line number Diff line number Diff line change 8
8
package com.facebook.react.uiapp
9
9
10
10
import android.os.Bundle
11
- import com.facebook.react.FBEndToEndDumpsysHelper
11
+ import com.facebook.react.FBRNTesterEndToEndHelper
12
12
import com.facebook.react.ReactActivity
13
13
import com.facebook.react.defaults.DefaultNewArchitectureEntryPoint.fabricEnabled
14
14
import com.facebook.react.defaults.DefaultReactActivityDelegate
@@ -29,7 +29,7 @@ class RNTesterActivity : ReactActivity() {
29
29
val routeUri = " rntester://example/${bundle.getString(PARAM_ROUTE )} Example"
30
30
initialProps = Bundle ().apply { putString(" exampleFromAppetizeParams" , routeUri) }
31
31
}
32
-
32
+ FBRNTesterEndToEndHelper .onCreate(activity.application)
33
33
super .onCreate(savedInstanceState)
34
34
}
35
35
@@ -47,6 +47,6 @@ class RNTesterActivity : ReactActivity() {
47
47
writer : PrintWriter ,
48
48
args : Array <String >?
49
49
) {
50
- FBEndToEndDumpsysHelper .maybeDump(prefix, writer, args)
50
+ FBRNTesterEndToEndHelper .maybeDump(prefix, writer, args)
51
51
}
52
52
}
You can’t perform that action at this time.
0 commit comments