fix typo
This commit is contained in:
parent
ee75909c80
commit
a6fcb70d12
|
@ -397,8 +397,8 @@ public final class BackgroundPlayer extends Service {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onMuteUnmuteButtonClicled() {
|
public void onMuteUnmuteButtonClicked() {
|
||||||
super.onMuteUnmuteButtonClicled();
|
super.onMuteUnmuteButtonClicked();
|
||||||
updatePlayback();
|
updatePlayback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -542,7 +542,7 @@ public abstract class BasePlayer implements
|
||||||
// Mute / Unmute
|
// Mute / Unmute
|
||||||
//////////////////////////////////////////////////////////////////////////*/
|
//////////////////////////////////////////////////////////////////////////*/
|
||||||
|
|
||||||
public void onMuteUnmuteButtonClicled() {
|
public void onMuteUnmuteButtonClicked() {
|
||||||
if (DEBUG) Log.d(TAG, "onMuteUnmuteButtonClicled() called");
|
if (DEBUG) Log.d(TAG, "onMuteUnmuteButtonClicled() called");
|
||||||
simpleExoPlayer.setVolume(isMuted() ? 1 : 0);
|
simpleExoPlayer.setVolume(isMuted() ? 1 : 0);
|
||||||
}
|
}
|
||||||
|
|
|
@ -693,8 +693,8 @@ public final class MainVideoPlayer extends AppCompatActivity
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onMuteUnmuteButtonClicled() {
|
public void onMuteUnmuteButtonClicked() {
|
||||||
super.onMuteUnmuteButtonClicled();
|
super.onMuteUnmuteButtonClicked();
|
||||||
setMuteButton(muteButton, playerImpl.isMuted());
|
setMuteButton(muteButton, playerImpl.isMuted());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -736,7 +736,7 @@ public final class MainVideoPlayer extends AppCompatActivity
|
||||||
onPlayBackgroundButtonClicked();
|
onPlayBackgroundButtonClicked();
|
||||||
|
|
||||||
} else if (v.getId() == muteButton.getId()) {
|
} else if (v.getId() == muteButton.getId()) {
|
||||||
onMuteUnmuteButtonClicled();
|
onMuteUnmuteButtonClicked();
|
||||||
|
|
||||||
} else if (v.getId() == closeButton.getId()) {
|
} else if (v.getId() == closeButton.getId()) {
|
||||||
onPlaybackShutdown();
|
onPlaybackShutdown();
|
||||||
|
|
|
@ -609,8 +609,8 @@ public final class PopupVideoPlayer extends Service {
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onMuteUnmuteButtonClicled() {
|
public void onMuteUnmuteButtonClicked() {
|
||||||
super.onMuteUnmuteButtonClicled();
|
super.onMuteUnmuteButtonClicked();
|
||||||
updatePlayback();
|
updatePlayback();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -23,7 +23,6 @@ import android.widget.PopupMenu;
|
||||||
import android.widget.ProgressBar;
|
import android.widget.ProgressBar;
|
||||||
import android.widget.SeekBar;
|
import android.widget.SeekBar;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
import android.widget.Toast;
|
|
||||||
|
|
||||||
import com.google.android.exoplayer2.PlaybackParameters;
|
import com.google.android.exoplayer2.PlaybackParameters;
|
||||||
import com.google.android.exoplayer2.Player;
|
import com.google.android.exoplayer2.Player;
|
||||||
|
@ -453,7 +452,7 @@ public abstract class ServicePlayerActivity extends AppCompatActivity
|
||||||
player.onRepeatClicked();
|
player.onRepeatClicked();
|
||||||
|
|
||||||
} else if (view.getId() == muteButton.getId()) {
|
} else if (view.getId() == muteButton.getId()) {
|
||||||
player.onMuteUnmuteButtonClicled();
|
player.onMuteUnmuteButtonClicked();
|
||||||
|
|
||||||
} else if (view.getId() == backwardButton.getId()) {
|
} else if (view.getId() == backwardButton.getId()) {
|
||||||
player.onPlayPrevious();
|
player.onPlayPrevious();
|
||||||
|
|
Loading…
Reference in New Issue