Fix flipper crashing app bug

Summary: Fixing bug based on stack trace from crash: P59988055

Reviewed By: passy

Differential Revision: D10161779

fbshipit-source-id: 8ad4a7b41144817dfcddb5431326e98fd176adec
This commit is contained in:
John Knox
2018-10-16 06:43:08 -07:00
committed by Facebook Github Bot
parent fede0b854e
commit c544199289

View File

@@ -112,8 +112,8 @@ public class ApplicationDescriptor extends NodeDescriptor<ApplicationWrapper> {
} }
}); });
editedDelegates.add((ViewGroup) view); editedDelegates.add((ViewGroup) view);
} else if (hasDelegateAlready) { } else if (hasDelegateAlready && mConnection != null) {
FlipperObject params = FlipperObject params =
new FlipperObject.Builder() new FlipperObject.Builder()
.put("type", "usage") .put("type", "usage")
.put("eventName", "accessibility:hasDelegateAlready") .put("eventName", "accessibility:hasDelegateAlready")