Skip to content

Commit 51093e1

Browse files
Material Design Teamdsn5ft
authored andcommitted
[M3][Colors] Add additional condition to check dynamic color supported devices
PiperOrigin-RevId: 438770498 (cherry picked from commit 6fdc114)
1 parent 4d78879 commit 51093e1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/java/com/google/android/material/color/DynamicColors.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ public boolean isSupported() {
8080
deviceMap.put("vivo", DEFAULT_DEVICE_SUPPORT_CONDITION);
8181
deviceMap.put("xiaomi", DEFAULT_DEVICE_SUPPORT_CONDITION);
8282
deviceMap.put("motorola", DEFAULT_DEVICE_SUPPORT_CONDITION);
83+
deviceMap.put("nothing", DEFAULT_DEVICE_SUPPORT_CONDITION);
8384
deviceMap.put("itel", DEFAULT_DEVICE_SUPPORT_CONDITION);
8485
deviceMap.put("tecno", DEFAULT_DEVICE_SUPPORT_CONDITION);
8586
deviceMap.put("tecno mobile limited", DEFAULT_DEVICE_SUPPORT_CONDITION);

0 commit comments

Comments
 (0)