Skip to content

Commit

Permalink
Merge pull request #9204 from garymathews/TIMOB-24926_6_1_X
Browse files Browse the repository at this point in the history
[6_1_X][TIMOB-24926] Android: Prevent fireEvent on null proxy
  • Loading branch information
mukherjee2 committed Jul 10, 2017
2 parents 54e22a7 + 0db90f4 commit a1f324e
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1932,6 +1932,9 @@ public boolean fireEvent(String eventName, KrollDict data) {
}

public boolean fireEvent(String eventName, KrollDict data, boolean bubbles) {
if (proxy == null) {
return false;
}
if (data == null && additionalEventData != null) {
data = new KrollDict(additionalEventData);
} else if (additionalEventData != null) {
Expand Down

0 comments on commit a1f324e

Please sign in to comment.