mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
xplat/js/react-native-github/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/devsupport/CxxInspectorPackagerConnection.kt
Reviewed By: rshest Differential Revision: D80443954
This commit is contained in:
committed by
Facebook GitHub Bot
parent
8351a5d186
commit
36b0aed894
+2
-2
@@ -84,7 +84,7 @@ internal class CxxInspectorPackagerConnection(
|
||||
.readTimeout(0, TimeUnit.MINUTES) // Disable timeouts for read
|
||||
.build()
|
||||
|
||||
private val mHandler = Handler(Looper.getMainLooper())
|
||||
private val handler = Handler(Looper.getMainLooper())
|
||||
|
||||
@Suppress("unused")
|
||||
@DoNotStrip
|
||||
@@ -142,7 +142,7 @@ internal class CxxInspectorPackagerConnection(
|
||||
|
||||
@DoNotStrip
|
||||
fun scheduleCallback(runnable: Runnable, delayMs: Long) {
|
||||
mHandler.postDelayed(runnable, delayMs)
|
||||
handler.postDelayed(runnable, delayMs)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user