We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ae8a37 commit 824d75eCopy full SHA for 824d75e
lib/java/com/google/android/material/color/DynamicColors.java
@@ -492,6 +492,7 @@ private static boolean maybeApplyThemeOverlayWithUpdatedNeutralChroma(
492
* @return True, if Android version is S or T and preUDynamicNeutralChromaUpdateEnabled is true in
493
* current context.
494
*/
495
+ @ChecksSdkIntAtLeast(api = VERSION_CODES.S)
496
private static boolean shouldOverrideNeutralChroma(@NonNull Context context) {
497
// TODO(b/272585197) Remove after tonal surface migration is complete.
498
boolean shouldUpdateNeutralChroma =
0 commit comments