Skip to content

Commit a3bef49

Browse files
icbakercopybara-github
authored andcommitted
Remove unnecessary assignment in PlayerControlView
This was highlighted by a compilation failure when migrating to Guava's `Preconditions` methods. PiperOrigin-RevId: 791159654
1 parent e797a1f commit a3bef49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/ui/src/main/java/androidx/media3/ui/PlayerControlView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -929,7 +929,7 @@ public void setExtraAdGroupMarkers(
929929
this.extraAdGroupTimesMs = new long[0];
930930
this.extraPlayedAdGroups = new boolean[0];
931931
} else {
932-
extraPlayedAdGroups = checkNotNull(extraPlayedAdGroups);
932+
checkNotNull(extraPlayedAdGroups);
933933
Assertions.checkArgument(extraAdGroupTimesMs.length == extraPlayedAdGroups.length);
934934
this.extraAdGroupTimesMs = extraAdGroupTimesMs;
935935
this.extraPlayedAdGroups = extraPlayedAdGroups;

0 commit comments

Comments
 (0)