Skip to content

Commit 8fa9d0f

Browse files
remove redundant @nonnull annotation
1 parent 8c5766a commit 8fa9d0f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libraries/cast/src/main/java/androidx/media3/cast/CastPlayer.java

+2-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@
3434
import android.view.SurfaceView;
3535
import android.view.TextureView;
3636
import androidx.annotation.IntRange;
37-
import androidx.annotation.NonNull;
3837
import androidx.annotation.Nullable;
3938
import androidx.annotation.RequiresApi;
4039
import androidx.annotation.VisibleForTesting;
@@ -774,7 +773,7 @@ public void setVolume(float volume) {
774773
this.volume.pendingResultCallback =
775774
new ResultCallback<MediaChannelResult>() {
776775
@Override
777-
public void onResult(@NonNull MediaChannelResult result) {
776+
public void onResult(MediaChannelResult result) {
778777
if (remoteMediaClient != null) {
779778
updateVolumeAndNotifyIfChanged(this);
780779
listeners.flushEvents();
@@ -920,7 +919,7 @@ public void setDeviceMuted(boolean muted, @C.VolumeFlags int flags) {
920919
this.deviceMuted.pendingResultCallback =
921920
new ResultCallback<MediaChannelResult>() {
922921
@Override
923-
public void onResult(@NonNull MediaChannelResult result) {
922+
public void onResult(MediaChannelResult result) {
924923
if (remoteMediaClient != null) {
925924
updateDeviceMutedAndNotifyIfChanged(this);
926925
listeners.flushEvents();

0 commit comments

Comments
 (0)