We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b25c0c3 commit e81c319Copy full SHA for e81c319
libraries/cast/src/main/java/androidx/media3/cast/CastPlayer.java
@@ -35,7 +35,6 @@
35
import android.view.SurfaceView;
36
import android.view.TextureView;
37
import androidx.annotation.IntRange;
38
-import androidx.annotation.NonNull;
39
import androidx.annotation.Nullable;
40
import androidx.annotation.RequiresApi;
41
import androidx.annotation.VisibleForTesting;
@@ -798,7 +797,7 @@ public void setVolume(float volume) {
798
797
this.volume.pendingResultCallback =
799
new ResultCallback<MediaChannelResult>() {
800
@Override
801
- public void onResult(@NonNull MediaChannelResult result) {
+ public void onResult(MediaChannelResult result) {
802
if (remoteMediaClient != null) {
803
updateVolumeAndNotifyIfChanged(this);
804
listeners.flushEvents();
0 commit comments