+2
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
When opening the Settings app or changing colors in ThemePicker there are tons of warnings with UnsupportedOperationException in the log. These logs are related to the LayoutInflater attempting to inflate a MaterialCardView and TypedArray#getColor where it expects the colors to be either an integer color or a color state list. This happens every time you re-start Settings. To enable layout inflater finding colors for Settings we add a MaterialComponents theme to SearchBarStyle, this makes sure that TypedArray#getColor gets an integer color instead of relying on framework to solve this. Flag: NA Bug: 363970601 Test: manual, open Settings and check the logs Change-Id: I728c1537537bb4d32af6006800de93e64facfa8e