dc419524c5ec8703bb222462c423926b708f7a91
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
…
Description
No description provided
Languages
Java
89.8%
Kotlin
10.2%