Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
forward ThemedReactContext#has/getCurrentActivity calls to wrapped co…
…ntext Summary: `ThemedReactContext` wraps the actual `ReactContext` but doesn't actually receive any lifecycle events, which would set `mCurrentActivity`, so that's always stuck as `null`. To fix, we override `has/getCurrentActivity` and forward the call to the wrapped context, which actually has the correct lifecycle status. Fixes issue facebook#9310 on github. Reviewed By: mkonicek Differential Revision: D3703005 fbshipit-source-id: 363e87ac91d50516899b413e823d5312cbb807f4
- Loading branch information