Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add isWideColorGamutEnabled to ReactActivityDelegate (#43036)
Summary: This adds support for enabling wide color gamut mode for ReactActivity per the wide gamut color [RFC](react-native-community/discussions-and-proposals#738). ## Changelog: [ANDROID] [ADDED] - Add isWideColorGamutEnabled to ReactActivityDelegate Pull Request resolved: #43036 Test Plan: Update RNTesterActivity.kt to enable wide color gamut: ```diff class RNTesterActivity : ReactActivity() { class RNTesterActivityDelegate(val activity: ReactActivity, mainComponentName: String) : // ... override fun getLaunchOptions() = if (this::initialProps.isInitialized) initialProps else Bundle() + override fun isWideColorGamutEnabled() = true } ``` Reviewed By: cortinico Differential Revision: D55749124 Pulled By: cipolleschi fbshipit-source-id: 44dd5631e1a2e429c86c01ed8747bbebbc8bdb3b
- Loading branch information