Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix crash for setEventEmitterCallback NoSuchMethodError on API lvl 26
Summary: Fixes facebook#48009 The app is currently crashing on Android API lvl 26 attempting to invoke the method `setEventEmitterCallback` which is defined inside BaseJavaModule. I'm not entirely sure why this is happening only for API lvl 26, but I've verified that by having the method protected, this doesn't happen anymore. The visibility is consistent with the field `mEventEmitterCallback` which is also protected and accessed to codegen. So let's keep them aligned for consistency. Changelog: [Android] [Fixed] - Fix crash for setEventEmitterCallback NoSuchMethodError on API lvl 26 Differential Revision: D68018506
- Loading branch information