mirror of
https://github.com/react/react-native.git
synced 2026-10-06 03:42:45 +08:00
Summary: The `ReactScrollView.java` constructor is using `ReactContext` instead of `Context`, which is inconsistent to the horizontal scroll view. This is the result from D3863966 (https://github.com/facebook/react-native/commit/2cf2fdbc04bc5309f6942ed464ad61cd06a26ce8) when an OSS issue needs to be addressed. That issue and all call sites to use the `ReactContext` are deprecated now. Revert this back to use `Context` to be less restrictive. Changelog: [Android][Fixed] - Revert `ReactScrollView` to use `Context` instead of `ReactContext` in the constructor to be less restrictive. Reviewed By: javache Differential Revision: D31819799 fbshipit-source-id: 3f00d64850aebd2e20615033b2e1f1c721fed37e