Commit bdc62750 authored by Adrien Maglo's avatar Adrien Maglo

Audio player: rename the setHeaderButtonVisibilities function to a more generic name

parent dc14f863
......@@ -771,7 +771,7 @@ public class MainActivity extends SherlockFragmentActivity {
@Override
public void onPanelOpened() {
mAudioPlayer.setHeaderButtonVisibilities(false, false, true);
mAudioPlayer.setHeaderVisibilities(false, false, true);
}
@Override
......@@ -779,7 +779,7 @@ public class MainActivity extends SherlockFragmentActivity {
@Override
public void onPanelClosed() {
mAudioPlayer.setHeaderButtonVisibilities(true, true, false);
mAudioPlayer.setHeaderVisibilities(true, true, false);
}
};
......
......@@ -416,12 +416,12 @@ public class AudioMiniPlayer extends Fragment implements IAudioPlayer {
}
/**
* Set the visibilities of the player header buttons.
* Set the visibilities of the player header elements.
* @param advFuncVisible
* @param playlistSwitchVisible
* @param headerPlayPauseVisible
*/
public void setHeaderButtonVisibilities(boolean advFuncVisible, boolean playlistSwitchVisible,
public void setHeaderVisibilities(boolean advFuncVisible, boolean playlistSwitchVisible,
boolean headerPlayPauseVisible) {
mAdvFuncVisible = advFuncVisible;
mPlaylistSwitchVisible = playlistSwitchVisible;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment