[Android] Remove useless dialog call

Geoffrey Métais git at videolan.org
Tue Feb 5 13:48:18 CET 2019


vlc-android | branch: master | Geoffrey Métais <geoffrey.metais at gmail.com> | Tue Feb  5 13:47:07 2019 +0100| [c0b6194f43fc44fe4c178fe5438da250db21905d] | committer: Geoffrey Métais

Remove useless dialog call

Error display is already managed by playbackservice

> https://code.videolan.org/videolan/vlc-android/commit/c0b6194f43fc44fe4c178fe5438da250db21905d
---

 vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java | 3 ---
 1 file changed, 3 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 6e607883e..57b924377 100644
--- a/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
+++ b/vlc-android/src/org/videolan/vlc/gui/video/VideoPlayerActivity.java
@@ -1434,9 +1434,6 @@ public class VideoPlayerActivity extends AppCompatActivity implements IPlaybackS
             case MediaPlayer.Event.Paused:
                 updateOverlayPausePlay();
                 break;
-            case MediaPlayer.Event.EncounteredError:
-                encounteredError();
-                break;
             case MediaPlayer.Event.Vout:
                 updateNavStatus();
                 if (event.getVoutCount() > 0 && mService != null)



More information about the Android mailing list