Expose EventEmitter.dispatchEvent as public

Summary: This diff exposes the method EventEmitter.dispatchEvent as public in order to be able to access it from the android side.

Reviewed By: shergin

Differential Revision: D10127509

fbshipit-source-id: d6ddf59c654a91fdeed5fba867ca31d6de96d607
This commit is contained in:
David Vacca 2018-10-01 17:47:46 -07:00 committed by Facebook Github Bot
parent 4ac500a337
commit 637d74f2a6
1 changed files with 7 additions and 1 deletions

View File

@ -61,7 +61,13 @@ public:
void setEnabled(bool enabled) const;
bool getEnabled() const;
protected:
protected:
#ifdef ANDROID
// We need this temporarily due to lack of Java-counterparts for particular subclasses.
public:
#endif
/*
* Initates an event delivery process.
* Is used by particular subclasses only.