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 { ...@@ -771,7 +771,7 @@ public class MainActivity extends SherlockFragmentActivity {
@Override @Override
public void onPanelOpened() { public void onPanelOpened() {
mAudioPlayer.setHeaderButtonVisibilities(false, false, true); mAudioPlayer.setHeaderVisibilities(false, false, true);
} }
@Override @Override
...@@ -779,7 +779,7 @@ public class MainActivity extends SherlockFragmentActivity { ...@@ -779,7 +779,7 @@ public class MainActivity extends SherlockFragmentActivity {
@Override @Override
public void onPanelClosed() { public void onPanelClosed() {
mAudioPlayer.setHeaderButtonVisibilities(true, true, false); mAudioPlayer.setHeaderVisibilities(true, true, false);
} }
}; };
......
...@@ -416,12 +416,12 @@ public class AudioMiniPlayer extends Fragment implements IAudioPlayer { ...@@ -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 advFuncVisible
* @param playlistSwitchVisible * @param playlistSwitchVisible
* @param headerPlayPauseVisible * @param headerPlayPauseVisible
*/ */
public void setHeaderButtonVisibilities(boolean advFuncVisible, boolean playlistSwitchVisible, public void setHeaderVisibilities(boolean advFuncVisible, boolean playlistSwitchVisible,
boolean headerPlayPauseVisible) { boolean headerPlayPauseVisible) {
mAdvFuncVisible = advFuncVisible; mAdvFuncVisible = advFuncVisible;
mPlaylistSwitchVisible = playlistSwitchVisible; 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