Skip to content

Commit

Permalink
[Color] Fix dynamic color support check
Browse files Browse the repository at this point in the history
  • Loading branch information
pubiqq committed Aug 13, 2024
1 parent cfef899 commit f428ee3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ public static boolean isDynamicColorAvailable() {
if (VERSION.SDK_INT < VERSION_CODES.S) {
return false;
}
if (BuildCompat.isAtLeastT()) {
if (VERSION.SDK_INT >= VERSION_CODES.S_V2) {
return true;
}
DeviceSupportCondition deviceSupportCondition =
Expand Down

0 comments on commit f428ee3

Please sign in to comment.