Remove deprecation from dispatchModern in Event.java

Summary:
Assuming this method was deprecated to mean experimental.
This execution path is used by overwhelming majority of events and it seems as stable as it can be.

Changelog:
[Android][Changed] Removed experimental deprecation from `dispatchModern`

Reviewed By: cortinico

Differential Revision: D31270721

fbshipit-source-id: 5a7e50455ab2850adf9bc86a248773b170bf0ab9
This commit is contained in:
Andrei Shikov
2021-09-30 22:26:33 -07:00
committed by Facebook GitHub Bot
parent 40a367e0a3
commit 8491edec28
@@ -188,7 +188,6 @@ public abstract class Event<T extends Event> {
* old-style dispatch function. For Event classes that need to do something different, this method
* can always be overridden entirely, but it is not recommended.
*/
@Deprecated
public void dispatchModern(RCTModernEventEmitter rctEventEmitter) {
if (getSurfaceId() != -1) {
WritableMap eventData = getEventData();