Use is connected flag to know to wrap bloks
Summary: we need to wrap the bloks layout in a debug variet in order for flipper to work. See this diff for context D45605120 We are now using wether flipper is connected at all which is much more reliable. Reviewed By: lblasa Differential Revision: D46854921 fbshipit-source-id: 1b3baef2681ccce50fd452044cd3f740c256b0a9
This commit is contained in:
committed by
Facebook GitHub Bot
parent
468b5510a8
commit
35e2dd2e17
@@ -31,7 +31,6 @@ class UIDebuggerFlipperPlugin(val context: UIDContext) : FlipperPlugin {
|
||||
|
||||
@Throws(Exception::class)
|
||||
override fun onConnect(connection: FlipperConnection) {
|
||||
hasConnectedPreviously = true
|
||||
this.context.connectionRef.connection = connection
|
||||
this.context.bitmapPool.makeReady()
|
||||
|
||||
@@ -65,10 +64,4 @@ class UIDebuggerFlipperPlugin(val context: UIDContext) : FlipperPlugin {
|
||||
override fun runInBackground(): Boolean {
|
||||
return false
|
||||
}
|
||||
|
||||
companion object {
|
||||
|
||||
var hasConnectedPreviously: Boolean = false
|
||||
private set
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user