Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Breaking: Remove ReactViewBackgroundManager and ReactViewBackgroundDr…
…awable (#46166) Summary: Pull Request resolved: #46166 ## This Diff This removes some of the legacy utilties used for background manipulation, no longer used anywhere (and very rarely used externally from some previous tests). These conflict with BackgroundStyleApplicator, which should be used instead. ## This Stack This removes the non-Style-applicator background management paths of the different native components. There have been multiple conflicting changes, and bugs added bc harder to reason about, which motivates making this change as soon as possible. This also lets us formalize guarantees that BaseViewManager may safely manipulate background styling of all built in native components. There is one still known issue, where BackgroundStyleApplicator does not propagate I18nManager derived layout direction to borders (compared to Android derived root direction). This is mostly an issue for apps that with LTR and RTL context, or force a layout direction, which I would guess is relatively rare, so my plan is to forward fix this later this by enabling set_android_layout_direction which will solve that problem mopre generically. Changelog: [Android][Breaking] - Remove ReactViewBackgroundManager and ReactViewBackgroundDrawable Reviewed By: sammy-SC Differential Revision: D61658084
- Loading branch information