mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
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:
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();
|
||||
|
||||
Reference in New Issue
Block a user