This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make constructor arg of ReactContextBaseJavaModule @nullable
Summary: ExceptionManagers are created before the `ReactApplicationContext`. Once we make them all TurboModule-compatible, they'll also subclasses `ReactContextBaseJavaModule`. This means that they'll need to be created with `ReactApplicationContext`. Since one isn't available, we'll have to call `super(null)` in their constructor. Changelog: [Android][Changed] - Make ReactApplicationContext nullable as the constructor argument of ReactContextBaseJavaModule Reviewed By: PeteTheHeat Differential Revision: D18935950 fbshipit-source-id: a643a10a42cf36a2a2d6fde87795965f16295d43
- Loading branch information
Showing 1 changed file with 1 addition and 2 deletions.