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