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

Adrien Maglo git at videolan.org
Fri Jan 17 16:46:05 CET 2014


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jan 17 16:39:57 2014 +0100| [bdc627506bbb0110eb2ccbfe9e392c84672a3ff7] | committer: Adrien Maglo

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

> http://git.videolan.org/gitweb.cgi/vlc-ports/android.git/?a=commit;h=bdc627506bbb0110eb2ccbfe9e392c84672a3ff7
---

 vlc-android/src/org/videolan/vlc/gui/MainActivity.java       |    4 ++--
 vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
index 6454d40..e77d312 100644
--- a/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/MainActivity.java
@@ -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);
             }
 
     };
diff --git a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
index 8421057..4ca32c2 100644
--- a/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
+++ b/vlc-android/src/org/videolan/vlc/widget/AudioMiniPlayer.java
@@ -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;



More information about the Android mailing list