Skip to content

Commit 824a12b

Browse files
RikkaWdrchen
authored andcommittedApr 19, 2022
[Color] Fix HarmonizedColorsOptions.Builder#setColorAttributes is marked as nullable
Resolves #2649 GIT_ORIGIN_REV_ID=b1f2d2ca1d4c5b25370eb0902fbf35729d6fc0a4 PiperOrigin-RevId: 442676674
1 parent 45b99f6 commit 824a12b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎lib/java/com/google/android/material/color/HarmonizedColorsOptions.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ public Builder setColorResourceIds(@NonNull @ColorRes int[] colorResourceIds) {
102102
*
103103
* @param colorAttributes The {@link HarmonizedColorAttributes} that needs to be harmonized.
104104
*/
105-
@Nullable
105+
@NonNull
106106
public Builder setColorAttributes(@Nullable HarmonizedColorAttributes colorAttributes) {
107107
this.colorAttributes = colorAttributes;
108108
return this;

0 commit comments

Comments
 (0)
Please sign in to comment.