Change theme
Help
Press space for more information.
Show links for this issue (Shortcut: i, l)
Copy issue ID
Previous Issue (Shortcut: k)
Next Issue (Shortcut: j)
Sign in to use full features.
Vote: I am impacted
Notification menu
Refresh (Shortcut: Shift+r)
Go home (Shortcut: u)
Pending code changes (auto-populated)
View issue level access limits(Press Alt + Right arrow for more information)
Unintended behavior
View staffing
Description
Version used:1.1.0
Devices/Android versions reproduced on:
I have encountered an issue with the ColorProvider interface.
The ColorProvider interface is public, but in the applyBackgroundColorModifier method of ApplyModifiers, only the following implementations are processed:
- FixedColorProvider
- ResourceColorProvider
- DayNightColorProvider
Any other custom implementations of ColorProvider result in a Log.w message and are not reflected in the view. This limitation prevents custom ColorProvider implementations from being applied to the view.
I propose the following improvements to address this issue:
- Make ColorProvider non-extendable.
- Allow custom ColorProvider implementations to be reflected in the RemoteView.