Skip to content

Commit

Permalink
[M3][Colors] Add additional condition to check dynamic color supporte…
Browse files Browse the repository at this point in the history
…d devices

PiperOrigin-RevId: 434417515
  • Loading branch information
Material Design Team authored and veganafro committed Mar 14, 2022
1 parent 6a4fa0b commit 69121c8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/java/com/google/android/material/color/DynamicColors.java
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ public boolean isSupported() {
deviceMap.put("xiaomi", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("motorola", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("itel", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("tecno", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("tecno mobile limited", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("infinix", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("infinix mobility limited", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("hmd global", DEFAULT_DEVICE_SUPPORT_CONDITION);
deviceMap.put("sharp", DEFAULT_DEVICE_SUPPORT_CONDITION);
Expand Down

0 comments on commit 69121c8

Please sign in to comment.