[Android] VideoPlayerActivity: remove an useless postDelayed.

Adrien Maglo git at videolan.org
Tue Oct 29 18:44:58 CET 2013


vlc-ports/android | branch: master | Adrien Maglo <magsoft at videolan.org> | Tue Oct 29 18:44:45 2013 +0100| [a6a45c81acb24fe28b7ba45631eb94b921f3cd92] | committer: Adrien Maglo

VideoPlayerActivity: remove an useless postDelayed.

setESTrackLists() is called when the MediaPlayerPlaying event has been received.

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

 .../src/org/videolan/vlc/gui/video/VideoPlayerActivity.java  |   10 ----------
 1 file changed, 10 deletions(-)

diff --git a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
index 5cd621e..9e73d06 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -255,16 +255,6 @@ public class VideoPlayerActivity extends Activity implements IVideoPlayer {
         mSubtitle = (ImageButton) findViewById(R.id.player_overlay_subtitle);
         mSubtitle.setVisibility(View.GONE);
 
-        mHandler.postDelayed(new Runnable() {
-            @Override
-            public void run() {
-                /*FIXME
-                 * The setTracksAndSubtitles method probably doesn't work in case of many many Tracks and Subtitles
-                 * Moreover, in a video stream, if Tracks & Subtitles change, they won't be updated
-                 */
-                setESTrackLists();
-            }}, 1500);
-
         mLock = (ImageButton) findViewById(R.id.lock_overlay_button);
         mLock.setOnClickListener(mLockListener);
 



More information about the Android mailing list